Previous Message
Next Message

Re: [css-d] Header/Footer - Why doesn't this work?

Sent by Mark Howells on 2 December 2002 16:04


>> 100% width + 10px padding = wider than 100%.
>> 80% height + 40px padding = taller than 80%.
>
> Padding is included in height/width. IE doesn't get it though.

According to the W3C specification, the padding and margins are added 
to the content width, so a box with content width of 100% with any 
padding will be wider than 100% (if interpreted correctly by the 
browser).

Regards
Mark Howells
<http://www.mark.ac/>
AIM: mhoaim

The Visitor: Photography by a Permanent Tourist
<http://www.thevisitor.ch/>

_______________________________________________
css-discuss [EMAIL-REMOVED]]
http://two.pairlist.net/mailman/listinfo/css-discuss
Sponsored by www.westciv.com - CSS resources | software | learning
Previous Message
Next Message

Message thread: