I've been hesitant to jump in here for obvious reasons (holy war and
whatnot)...

but I'm hardly a CSS zealot.  I only use the most basic of CSS elements (one
of which I do believe is padding).

>From http://css-discuss.incutio.com/?page=BoxModelHack:

<quote>
According to the W3C, an assigned 'width' (and 'height') of a box refers to
the 'content area' of a box only. The padding, borders, and margins are then
added to this value to arrive at the total box width. If the 'width'
property is omitted, the total box width is the same as the 'content area'
of the surrounding container element.

All well and good. Unfortunately, all CSS enabled versions of IE before
IE6/strict use a different box model. In that model, the padding and borders
are counted as part of any assigned 'width' or 'height'. In the absence of
borders and padding, the two models agree. However, if a box has an assigned
"width', and if borders and/or padding are added, the standard box model
causes the overall box width (between the outer border edges) to increase,
while in IE's model the 'content area' gets squeezed by the same amount.
This is a major problem for proper page layout.
</quote>

Don't mistake the box model issue to be a problem only encountered by those
who use pure table-less layouts.  If you've not run into it, more power to
ya.  But I'd venture a guess (and that's all that it is, I have no
scientific data to back this up) that you're in the minority.

----- Original Message -----
From: "Tim Laureska" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 05, 2004 10:08 AM
Subject: RE: Browser wars (was Re: Can someone recommend a good web
development browser?)

> That's all CSS stuff that true CSS Standard followers bemoan
>
> -----Original Message-----
> From: Tony Weeg [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 05, 2004 11:59 AM
> To: CF-Talk
> Subject: RE: Browser wars (was Re: Can someone recommend a good web
> development browser?)
>
> box model bugs? what are box models?
> border collapse bugs? whats that?
> background positioning bugs? what wrong there?
>
> -----Original Message-----
> From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 05, 2004 11:56 AM
> To: CF-Talk
> Subject: Re: Browser wars (was Re: Can someone recommend a good web
> development browser?)
>
> Tony Weeg wrote:
> > jochem, are you kidding???
>
> No, I am very serious. Box model bugs, background positioning bugs,
> border
> collapse bugs, nothing ever gets confirmed, let alone fixed.
>
> Jochem
>
> --
> I don't get it
> immigrants don't work
> and steal our jobs
>      - Loesje
>
>
>
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to