I have a series of images all in a row on the same line but I can't seem to get the spaces between them to go away. I have the BORDER="0", HSPACE="0", and the VSPACE="0" in every image tag but it still wont work.<br />
<br />
For a visual: It gives me this: * * * * * * <br />
When I want this: ******<br />
<br />
<br />
What Should I try?<!--content-->I assume that you code looks something like this:<br />
<br />
<img src=http://www.htmlforums.com/archive/index.php/"image1.gif".....><br />
<img src=http://www.htmlforums.com/archive/index.php/"image2.gif".....><br />
<img src=http://www.htmlforums.com/archive/index.php/"image3.gif".....><br />
<br />
Instead, put it all in one line like this:<br />
<br />
<img src="image1.gif".....><img src="image2.gif".....><img src=http://www.htmlforums.com/archive/index.php/"image3.gif".....><br />
<br />
Hopefully that will do the trick!<!--content-->cellspacing="0" cellpadding="0" <--<br />
<br />
if you put your pictures in a table like this :<br />
--><br />
<table border="0" width="100" cellspacing="0" cellpadding="0" ><br />
<tr><br />
<td width="20%"><img border="0" src=http://www.htmlforums.com/archive/index.php/"Grafik1.gif" width="xx" height="xx"></td><br />
<td width="20%"><img border="0" src=http://www.htmlforums.com/archive/index.php/"Grafik2.gif" width="xx" height="xx"></td><br />
<td width="20%"><img border="0" src=http://www.htmlforums.com/archive/index.php/"Grafik3.gif" width="xx" height="xx"></td><br />
<td width="20%"><img border="0" src=http://www.htmlforums.com/archive/index.php/"Grafik4.gif" width="xx" height="xx"></td><br />
<td width="20%"><img border="0" src=http://www.htmlforums.com/archive/index.php/"Grafik5.gif" width="xx" height="xx"></td><br />
</tr><br />
</table><br />
<--<br />
and you'll get rid of the spaces<!--content-->Yes but if you don't want to use tables, just do what Goldi said and it should work just fine.<!--content-->Originally posted by Brush Ape <br />
Yes but if you don't want to use tables, just do what Goldi said and it should work just fine. <br />
Haha...yes it'll be fine but you're just supporting your own statement <!--content-->Originally posted by whkoh <br />
<br />
Haha...yes it'll be fine but you're just supporting your own statement <br />
<br />
Shhhhhhhhh! :shady: Darn it, I've been caught red handed! <!--content-->way to go Goldi <br />
<br />
KevinRoar, take out the hspace and vspace and see if that works.<br />
<br />
so you have a plain img tag<br />
<br />
<img src=http://www.htmlforums.com/archive/index.php/"myimage.gif"><br />
<img src=http://www.htmlforums.com/archive/index.php/"myimage.gif"><br />
<img src=http://www.htmlforums.com/archive/index.php/"myimage.gif"><br />
<img src=http://www.htmlforums.com/archive/index.php/"myimage.gif"><!--content-->
<br />
For a visual: It gives me this: * * * * * * <br />
When I want this: ******<br />
<br />
<br />
What Should I try?<!--content-->I assume that you code looks something like this:<br />
<br />
<img src=http://www.htmlforums.com/archive/index.php/"image1.gif".....><br />
<img src=http://www.htmlforums.com/archive/index.php/"image2.gif".....><br />
<img src=http://www.htmlforums.com/archive/index.php/"image3.gif".....><br />
<br />
Instead, put it all in one line like this:<br />
<br />
<img src="image1.gif".....><img src="image2.gif".....><img src=http://www.htmlforums.com/archive/index.php/"image3.gif".....><br />
<br />
Hopefully that will do the trick!<!--content-->cellspacing="0" cellpadding="0" <--<br />
<br />
if you put your pictures in a table like this :<br />
--><br />
<table border="0" width="100" cellspacing="0" cellpadding="0" ><br />
<tr><br />
<td width="20%"><img border="0" src=http://www.htmlforums.com/archive/index.php/"Grafik1.gif" width="xx" height="xx"></td><br />
<td width="20%"><img border="0" src=http://www.htmlforums.com/archive/index.php/"Grafik2.gif" width="xx" height="xx"></td><br />
<td width="20%"><img border="0" src=http://www.htmlforums.com/archive/index.php/"Grafik3.gif" width="xx" height="xx"></td><br />
<td width="20%"><img border="0" src=http://www.htmlforums.com/archive/index.php/"Grafik4.gif" width="xx" height="xx"></td><br />
<td width="20%"><img border="0" src=http://www.htmlforums.com/archive/index.php/"Grafik5.gif" width="xx" height="xx"></td><br />
</tr><br />
</table><br />
<--<br />
and you'll get rid of the spaces<!--content-->Yes but if you don't want to use tables, just do what Goldi said and it should work just fine.<!--content-->Originally posted by Brush Ape <br />
Yes but if you don't want to use tables, just do what Goldi said and it should work just fine. <br />
Haha...yes it'll be fine but you're just supporting your own statement <!--content-->Originally posted by whkoh <br />
<br />
Haha...yes it'll be fine but you're just supporting your own statement <br />
<br />
Shhhhhhhhh! :shady: Darn it, I've been caught red handed! <!--content-->way to go Goldi <br />
<br />
KevinRoar, take out the hspace and vspace and see if that works.<br />
<br />
so you have a plain img tag<br />
<br />
<img src=http://www.htmlforums.com/archive/index.php/"myimage.gif"><br />
<img src=http://www.htmlforums.com/archive/index.php/"myimage.gif"><br />
<img src=http://www.htmlforums.com/archive/index.php/"myimage.gif"><br />
<img src=http://www.htmlforums.com/archive/index.php/"myimage.gif"><!--content-->