Sent by Rijk van Geijtenbeek on 2 December 2002 16:04
On Mon, 2 Dec 2002 17:40:57 +0100, Mark Howells [EMAIL-REMOVED]> wrote:
>>> 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).
And IE 6 gets it fine (were fine is relative to you own wishes) depending
on which DOCTYPE you use.
Mat should read this:
http://msdn.microsoft.com/workshop/author/css/overview/CSSEnhancements.asp
--
If you don't like having choices | Rijk van Geijtenbeek
made for you, you should start | Documentation & QA
making your own. - Neal Stephenson | [EMAIL-REMOVED]
_______________________________________________
css-discuss [EMAIL-REMOVED]]
http://two.pairlist.net/mailman/listinfo/css-discuss
Sponsored by www.westciv.com - CSS resources | software | learning