Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

float image over the header of vb forum

Options
  • 05-09-2005 3:22pm
    #1
    Registered Users Posts: 1,304 ✭✭✭


    i was wondering is it possible to "float" an image over the header for a forum. the image i want to float is some banners from phpads. see attached forum header

    or will i have to break up the image into smaller images so i can insert the banners that way

    thx


Comments

  • Moderators, Politics Moderators Posts: 39,933 Mod ✭✭✭✭Seth Brundle


    viperlogic wrote:
    see attached forum header
    Where?


  • Registered Users Posts: 1,304 ✭✭✭viperlogic


    sry, they wont attach for some strange reason, one is 777x201 and the other is 1x201, here is the code so far, the banner is "floating" over the header but the second image (logostrip_bg.gif) is not showing up, this image is straight after the logostrip.gif and goes left as far as the screens width.

    <div style="background: #ffffff url(http://www.abc.com/forum/images/aesthetic/misc/logostrip_bg.gif) repeat-x; height: 201px;">
    
    
    <div style="background: #ffffff url(http://www.abc.com/forum/images/aesthetic/misc/logostrip.gif) no-repeat; height: 201px;">
    
    
    
    <div style="float: right; margin: 20px; border: 0px solid #ffffff;">
    
    <script language='JavaScript' type='text/javascript' src='http://abc.com/phpAdsNew/adx.js'></script>
    <script language='JavaScript' type='text/javascript'>
    
       if (!document.phpAds_used) document.phpAds_used = ',';
       phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
       
       document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
       document.write ("http://abc.com/phpAdsNew/adjs.php?n=" + phpAds_random);
       document.write ("&amp;what=zone:3");
       document.write ("&amp;exclude=" + document.phpAds_used);
       if (document.referrer)
          document.write ("&amp;referer=" + escape(document.referrer));
       document.write ("'><" + "/script>");
    
    </script><noscript><a href='http://abc.com/phpAdsNew/adclick.php?n=af4aa6e8' target='_blank'><img src='http://abc.com/phpAdsNew/adview.php?what=zone:3&amp;n=af4aa6e8' border='0' alt=''></a></noscript>
    
    
    </div>
    </div>
    </div>
    


Advertisement