W3C home > Mailing lists > Public > www-style@w3.org > February 2000

RE: box-sizing alternative

From: Joe Hewitt <joe@joehewitt.com>
Date: Tue, 29 Feb 2000 14:22:46 -0500
To: "'Tantek Çelik'" <tantek@cs.stanford.edu>, <www-style@w3.org>
Message-ID: <000301bf82ea$5c8fcf70$31cfb326@zenimax.com>
> And finally,
> adding one controlling property ("box-sizing") is preferable
> to adding two
> alternative properties ("content-width" and "content-height").

It is very noble of you to try and cut down on the number of properties
added to CSS.  However, in this you are making too many sacrifices just to
save a few added properties.  You are adding in something that is, IMO, very
clumsy: "box-sizing". I say that it is clumsy because it is a different way
of affecting size than the user is used to.  Every other size property is
set by giving it an explicit pixel size.  The solution I have detailed
allows the user to continue to use pixel sizes to define specific regions.
I believe this is simpler than making the user "change the rules" of how
size is interpreted.

Can you please explain to my why "changing the rules" is better than just
setting the size of a specific region within the box, or the box as a whole?
Received on Tuesday, 29 February 2000 14:19:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:53 UTC