ck's archive: holly hacking

Holly Hacking (5 comments)

It was pointed out to me last week that Internet Explorer was doing a horrible job of representing any portions of my website that still have tables (now used to present tabular data rather than control layout, I promise). After some reading on the subject, I tracked it down to an IE bug involving crankiness when a table has width: 100%; specified within a div that has a floating object next to it. The table acts like clear: both; has been specified (when clear: none; is the default) and so pushes all table data below the float on the page. That sucked, but I found a neat technique ("the holly hack") to put an IE-only specification in my stylesheet to let it use width: auto; for my tables. It's not what I want, but for my use, it shouldn't make more than a few pixels of difference.

And while I was at it, I extended my layout to allow for an arbitrary number of elements to be grouped with the menu. For now, that gives me the ability to have a wedding countdown box (which IE is displaying incorrectly, but I'll tackle that later).

search the archives:

Main archive listing

Copyright © 2001-2012 Chris Kuehn