Previous Message
Next Message

Mind the gap

Sent by Peter Williams on 11 July 2005 04:04


> From:  Ian Sweeney
> 
> In IE6 there is a gap between the bottom of the image shown at
> www.iansweeney.me.uk/p4 and the blue top border of the 
> content section.
> There is no gap when viewed with Firefox. How do I get rid of the gap?

ian,

It is the whitespace in your markup causing it. Rewrite the markup as:

<div id="mast"><img alt="MAST" src="mast.jpg" /></div>

and it goes away. It was some sort of extra space in the mast div.

-- 
Peter Williams


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: