Banner Help

Status
Not open for further replies.

Sharr

Solid State Member
Messages
19
Hiya all,

I need some more help!! Again!

I use banners on my site and for some reason I can not get them to center. This is the script I'm using, what am I doing wrong?

The banner is just showing left all the time?

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var how_many_ads = 6;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==1) {
txt="Bid or Sell on Ebay!";
url="http://adfarm.mediaplex.com/ad/ck/710-5232-2978-15?ebay=4";
alt="Click here to learn more";
banner="http://www.qksrv.net/image-1480869-10285634";
width="468";
height="60";
}
document.write('<center>');
document.write('<a href=\"' + url + '\" target=\"_top\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0>
');
document.write('' + txt + '</a>');
document.write('</center>');
// End -->
</SCRIPT>
 
document.write('<center>');

I have tried align"center" in the above but that does nothing either, I'm not even sure if that is the correct place to have it?
 
After messing about with it all afternoon I manage to sort it.

Thanks for the help anyway::amazed:
 
Status
Not open for further replies.
Back
Top Bottom