| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
<TD width=624 bgcolor="#004f9d">
var img_rnd = new Array ("one_624.jpg", "two_624.jpg", "three_624.jpg", "four_624.jpg", "five_624.jpg", "six_624.jpg", "seven_624.jpg");
var i = Math.round(Math.random() * 7);
document.write('<IMG SRC="index_files/' + img_rnd[i] + '" WIDTH="624" HEIGHT="118" BORDER="0" ALT="">');
Which browsers give you a space?
What exactly do you mean by it leaving a space?
If you mean what I -THINK- you mean, well it has nothing to do with the script. All the script does is load the image, it has nothing to do with spacing. --
You might want to play with the cellpadding and cellspacing features of the table.
e.x. ( <Table cellpadding="0" cellspacing="0"> )
Cellpadding is the space between the cell content and the border (If border=0, then the perimeter). Cellspacing is the space that would be between each cell.
I hope I helped!, If I haven't, please explain your question more. I would be GLAD to help!
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved