Home | All Questions | alt.html FAQ > HTML Basics

How do I get rid of the space between two images?

Get rid of the blank lines inbetween the anchors. If you have:

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

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

Change it to:

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

Recommended Resources

Discussion

Related Questions