| 2:39 am on Aug 25, 2001 (gmt 0)|
You don't need CSS to remove the spaces. Put all of your <img> tags ON THE SAME LINE, without a space or newline.
<img src="x.jpg"><img src="y.jgp"><img src="z.jpg">
This will work, money back guarantee.
Buy the way, welcome to the forum!
| 2:51 am on Aug 25, 2001 (gmt 0)|
aha! Guess I need to brush up on my html! thanks.....
| 2:39 am on Apr 30, 2002 (gmt 0)|
Could someone explain why it is necessary to have everything on the same line?
| 5:18 am on Apr 30, 2002 (gmt 0)|
The main issue is cross-browser display. Even though line breaks and extra spaces in HTML code are "supposed to be" ignored by browsers, in practice that's not the way it always works out.
Newer browser versions are pretty good on this, but Netscape 4, for instance, and some earlier IE5 versions had nasty little display quirks that would crop up around line breaks and spaces.
| 5:34 am on Apr 30, 2002 (gmt 0)|
Thanks for the info Tedster. I've run across this a couple of times and had no idea why it was happening.
| 5:55 am on Apr 30, 2002 (gmt 0)|
Strictly speaking, this is not a browser error. Generally you want a line break in source to be interpreted as a space, but the case of images and links are an exception.
Anyway, CSS gives you some noteworthy advantages over tables for displaying images and captions. Check out the following: