Previous Message
Next Message

RE: [css-d] How to replaces tables/frames with CSS?

Sent by Eric A. Meyer on 29 January 2002 16:04


At 16:02 -0500 1/29/02, noah wrote:

>There are probably a thousand reasons why I'm wrong about this, but 
>it seems to me that this is where the CSS box model becomes very 
>annoying. Because margins / borders / padding are added to the width 
>of the div, rather than incorporated into it, you can't add margins 
>/ borders / padding to either of these divs without this layout 
>breaking, because the total width will then be more than 100%.

    There many be a thousand reasons you're right and another thousand 
you're wrong, but the model is what it is and that's what we have to 
face.  As I've said on occasion, the specification is by definition 
correct until it's been changed, in which case it's still correct, 
just differently.  What I'd like to avoid is a long religious war on 
the list about which approach is better.  They've been done before, 
and another Crusade won't solve anything.
    Besides, there is a proposal in the works to let you choose which 
approach you want: <http://www.w3.org/TR/css3-box/#box-sizing>.

--
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
   -- Martina Kosloff
Previous Message
Next Message

Message thread:

Possibly related: