Previous Message
Next Message

Re: [css-d] Strange IE5.5/W2k behaviour with nested divs

Sent by Tom Gilder on 5 July 2002 09:09


On Friday, July 5, 2002, 11:14:09 AM, Haiko Hebig wrote:
> A question regarding margings in nested divs; strange behaviour of 
> IE5.5/W2k. Example is at http://www.hebig.org/temp/padding.html , styles 
> are inline. IE 5.5/W2k adds the 50px (left) margin of the inner div as
> additional margin to the first line of the main div. 

Wrap your main text in a <p> or <div>, and the problem should vanish.

-- 
Tom Gilder
http://tom.me.uk/
Previous Message
Next Message

Message thread: