Martyn Clark wrote: > Hi > I have a div element with just a few words of text directly in the div, I > have applied padding using em's but when I view this in IE and Firefox IE > seems to make the element larger than it appears in Firefox. > > If I put an equal amount of padding all round the div element in Firefox > this places the text to be aligned in the centre of the div, while in IE the > text seems lower down and the div appears a lot larger. Can anybody shed > some light on this? >
Since you don't mention which version of IE and whether you are using strict or transitional DTD, we will assume what you are seeing is IE's broken box model. Please read: http://css-discuss.incutio.com/?page=BoxModel and the top part of http://css-discuss.incutio.com/?page=BoxModelHack -- Bob Easton Accessibility Matters: http://access-matters.com ______________________________________________________________________ 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/