What's a box model?
The Wikipedia entry on Internet Explorer's buggy box model handling gives both a good, graphical definition of the box model and describes how IE breaks it — unless we take care to get things right!
- A couple of boxes (quirks mode)
- Same boxes (standards mode)
- Box width illustration (quirks mode)
- Box width illustration (standards mode)
Conclusion — Standards mode rules!
And valid code rules.
That's all there is and there ain't no mo.