PDA

View Full Version : float image over the header of forum



puntopower
09-21-2005, 10:53 AM
hi, i hope i have this in the right forum, if not please move it to the correct one.

on my vb forum i want to float a banner over the header, the header consists of a image called logostrip.gif this image is 777x201 after that a 1 pixel wide gif called logostrip_bg.gif is repeated all the way to the right of the screen. i want to "float" a banner over the header. is this the right way to approach this or ??? find below the code i have so far, logostrip.gif is showing and the banner is floating but logostrip_bg.gif is not showing. plz help




<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>