W3C home > Mailing lists > Public > www-style@w3.org > April 2007

box-sizing

From: KES <kes-kes@yandex.ru>
Date: Sat, 21 Apr 2007 19:05:31 +0400 (MSD)
Message-Id: <462A283B.000001.06475@webmail15.yandex.ru>
To: www-style@w3.org

I think box-sizing is better than box-width/height because of
box-width/box-height override width/height. This will confuse people which do
not know standarts well. First example confusing, but second more clear, to my
mind:
<div style="box-width: 70%; width: 90%"></div>
<div style="box-sizing: border-box; width: 70%"></div>

So selecting a render method 'box-sizing' and set width/height looks more naturally
Received on Sunday, 22 April 2007 06:11:06 GMT

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