Log in

View Full Version : Space below linked image?



alexjewell
07-27-2006, 02:45 AM
I've always wondered...

WHY does a space follow a linked image on the bottom?
Even if the </a> is RIGHT after the image...
I end up having to use a table...
Which I hate.
It works in FireFox with the </a> right after.
However, in IE...ew.

So, for future reference...
Any ideas as to how to fix this?

mburt
07-29-2006, 09:21 PM
I'm not sure what you're talking about. Do you have an example of this problem anywhere?

jscheuer1
07-30-2006, 04:41 AM
For images next to each other, if you have no space or line break in your code:


<a href="whatever"><img src="whatever" border="0"></a><a href="whatever"><img src="whatever" border="0"></a>

Things should work out in any browser. Or, for images with the second one displayed on the next line:


<a href="whatever"><img src="whatever" border="0"></a><br>
<a href="whatever"><img src="whatever" border="0"></a>

works well, as long as there are no space characters at the end of the old or the beginning of the new line in the code.

mburt
07-30-2006, 07:06 PM
Oh, that.. Yeah, I've encountered problems similar to that myself :)