W3C home > Mailing lists > Public > www-style@w3.org > March 2005

[css2] Box Model padding

From: Paul Duncan <paul.duncan@marketpipe.com>
Date: Thu, 17 Mar 2005 12:44:59 -0000
Message-Id: <200503171245.j2HCj7W18291@raq157.servercity.co.uk>
To: "'W3C CSS'" <www-style@w3.org>



Hi, 
I have been directed here from the css-discuss.org list.

I have been trying to understand the logic behind the css standard that puts
the padding applied to a block element outside the box. From all the layout
hacks and countless people struggling with simple page layouts it would seem
that the current box model is having problems in the real world. 

Is there any specification or plans to address this by introducing an
'inside-padding' style which would render padding inside the block element? 
Without doubt this would reduce code and make css layout far more simple.

Regards
Paul


Paul Duncan
Tel: +44 (0)20 7297 8407
Fax: +44 (0)20 7297 8427
Web: www.marketpipe.com
This email and its attachments are confidential and may be subject to
copyright. It is intended solely for the addressees. If it is sent to you by
mistake then please delete it and immediately notify the sender. You should
not copy it or disclose its contents to anyone unauthorised. The views and
opinions in this message are the sender's own and do not necessarily
represent those of Marketpipe. We believe this message is free of any virus,
however Marketpipe cannot accept liability for any loss or damage you may
incur as a result of virus infection. Any email sent to or from us may be
monitored by us for operational or business reasons. Marketpipe Ltd, 7 Soho
Square, London, W1D 3QB
Received on Thursday, 17 March 2005 12:50:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:36 GMT