CSS Hacks part 3
Saturday, July 28th, 2007As for me I’ll probably be CSS hacking for a couple more years. One of the main reasons I’ll be doing this is because it’s quite easy, it can fix problems easy with a well written hack. Secondly, Netscape and IE Mac have annoying CSS bugs; also because of compatibility. When a browser updates they often fix the display bugs with the parser bugs, which makes for only a small number of updates needed instead of writing a whole new CSS file.
But, I wish I could say I’m surprised by some of the negative feedback and people still wanting to use IE hacks in their stylesheets but I’m not.
This is all relatively simple, which is also the message I took out of this post.
IE conditional comments provide a neat way of organizing ALL your IE hacks so if you need to hack IE, use conditional comments. Why do it any other way?
Lets just accept the differences between IE and the other browsers and get over it! IE 7 is a significant step forward towards a more standards compliant rendering experience and as Joel pointed out, this is not an example of an IE bug, simply a rendering issue between IE 7 and other browsers.
Some people may complain and say “what about people that don’t have JavaScript installed/enabled”? I imagine that the only browsers that are in that demographic are speech browsers, search engines or customized by paranoid techies.
