CSS3 - box model padding

Hello,

Please could anyone working on the CSS3 specification confirm if there are plans to change the box model for padding?

Alternatively, does anyone support the following and, if so, can anyone suggest how to request such things from W3.org?

My understanding is that padding is currently applied externally to content (except in table cells) so that, for example...

<div style="padding:20%;width:100%">some content</div>

would give a width of 140% [100% + 20% either side].

I understand that the margin attribute is also applied externally - this makes sense to me - but if padding is _added_ to element width, it seems the only way to achieve cellpadding-like effects with a div, for example, is to use a div-within-a-div... which seems unnecessary if the CSS specification were to support padding internally, which would seem to fit with the concept of padding as in the original "padded cell".

There is some mention of the possibility that CSS3 might provide an "option" for how padding should be applied at:
http://css-discuss.incutio.com/?page=BoxModelHack

Could anyone confirm if this is, currently, an intention?  Would anyone support it?

And, finally, does anyone know of a method to produce cellpadding-like gaps inside a div without using the "box in a box" approach?

With thanks,
Gareth.
garethevans@runbox.com

Received on Wednesday, 23 August 2006 21:43:35 UTC