Re: box-sizing: border-box;

> My statement is simple I don't like the content-box model! could someone
> persuade me otherwise? I just don't understand why if I say; div
> {width:200px;padding:7px;border:2px} that width dosn't mean 200px.

Note that adding the box-sizing property would involve expanding the section on
computing widths and heights a good deal (as well as changing what "computed
width" actually means, possibly).

For example, what is the correct layout of:

  width: 10px; padding: 5px; border: 6px

with border-box sizing?

Boris
-- 
"Why can one call the time component of the preceding 4-vector 
by the name energy?  For two reasons:  First, because this time 
component has the correct units -- the units of mass..."
             -- From "Spacetime Physics" by Taylor and Wheeler

Received on Tuesday, 28 October 2003 14:38:30 UTC