Forum Moderators: not2easy
Using CSS in a contemporary browser? You'll probably need to use a variety of CSS hacks to accomplish the best possible cross-browser compatibility. Molly Holzschlag helps you determine if you need hacks, how to manage them effectively if so, and which hacks you can employ to solve a range of common compatibility problems.
Unfortunately, that diminishes what is a useful primer on how to keep your CSS clean whilst coping with older browsers.
It's like the Tantek 'voice-family' hack though it's a cut pasteable solution without knowing why you have to use it and it has Tantek's name attached to it so it has the "notoriety" and has already appeared in some books. I think it'll land up like now with the voice-family hack, it was required but again there are not only simpler Box Model hacks, but an cleaner way would be to use the conditionals. No matter what happens in the future these conditionals will only target the IE version you specify and in themselves can be removed (or renamed if newer versions have more joys in store!).
But then if you use an include for controlling the <head> element of documents, I do, you still only have to change a line once for site-wide maintenance, and I suppose if you prefer it all in the CSS file then the hacks would be fine, just know why you're using them!
Perhaps we should call it IE management ;)
Suzy