[thelist] How does "Box-in-a-box" hack work?

Seth Thomas Rasmussen seth at sethrasmussen.com
Wed Jul 14 13:36:19 CDT 2004


Josh said:
John,

Personally, I lean towards the box-in-a-box "hack" in most cases.  Like you
mentioned, it doesn't really rely on on hacks per se, and it doesn't rely on
calculating numbers.  Also, it's extremely universal WITHOUT any css hacks.
It adds to the structure of the page, but it's likely that you won't need to
clean up this hack in the future.  With other hacks, you'll continually need
to work around more and more browser quirks as new versions of browsers are
released.  With box-in-a-box, you are simply skirting the issue... newer
versions of browsers simply don't affect it.



Mr. Tantek has a couple solutions involving linking "fix-up" stylesheets
externally, which provides for ease of clean-up should they break in the
future, while keeping your structure strictly minimalist.

http://tantek.com/CSS/Examples/

See the filters...

Seth Thomas Rasmussen



More information about the thelist mailing list