Monday, April 28, 2008

CSS conditional comments hacks

It seems impossible to run away from chasing display problems in IE7/6/5 vs Firefox. A wonderful way of dealing with issues (well maybe not "wonderful" but at least seems to work) is to have conditional CSS files depending on the browser. Read all about conditional comments to load per-browser-version specific CSS files.

But, there's a problem. I have IE7 in WinXP and I've downloaded an old version of a standalone IE6 from evolt.org. IE6 works fine (behaves as IE6 when troublshooting issues) but interprets conditional comments for the hack as if it was IE7. In other words, I can't use my local development box to see if conditional comments and CSS delivered through that will work. Hopefully will sort this out and post an update.

No comments: