![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
The simple box model can be a little confusing. My take on the standards mode box model is that the width is the internal width of the contents. That the width of the box itself would have to have the padding and border widths added. I find that a little odd and awkward when setting up "columns", but that's the way it is. Is that about right? Now, what do we get in quirks mode and almost standards mode for calculating widths? Not that I'll be using that doctype, but I'd like to know. I'm sure there must be an explanation somewhere that I missed. |
#3
| |||
| |||
|
|
On Tue, 22 Jan 2008 19:42:08 +0100, Jeff <jeff (AT) spam_me_not (DOT) com> wrote: The simple box model can be a little confusing. My take on the standards mode box model is that the width is the internal width of the contents. That the width of the box itself would have to have the padding and border widths added. I find that a little odd and awkward when setting up "columns", but that's the way it is. Is that about right? Now, what do we get in quirks mode and almost standards mode for calculating widths? Not that I'll be using that doctype, but I'd like to know. I'm sure there must be an explanation somewhere that I missed. http://www.quirksmode.org/css/box.html |
![]() |
| Thread Tools | |
| Display Modes | |
| |