Hi

Simple question I hope.  When I have an image inside a div, and the HTML
is formatted for readability (as below), IE is inserting white space
above and below the image, although Firefox does not (don't know about
other browsers).

        <div>
                <img id="banner" src="images/someimage.gif" />
        </div>

If I change it to 

        <div><img id="banner" src="images/someimage.gif" /></div>

the unwanted whitespace is removed.

Is there a CCS rule I can apply to the div or the img tag to force IE
not to add the white space?

Martin Clark
Lead Developer - ADS Germany


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to