View Full Version : Problems with IE8

06-24-2010, 05:32 PM
I have my pages for FF, & Safari. I had built into them the following:

<!--[if IE]>
<link rel="stylesheet" href="ie_blacklist.css" type="text/css" />

This worked well for IE7, but not I'm getting complaints about the page not rendering properly in IE8.

Any suggestions?

06-24-2010, 05:47 PM
IE8 and IE7 are quite different in their css implementation. Arguably, IE8 is a bit better than IE7 - so it's possible that what fixes IE7 breaks IE8. None of the websites I've built have required any specific css for IE8 (which isn't at all to say IE8 is perfect, before I get flamed...). So, first approach might be to amend your conditional comment to target IE7 or less:

<!--[if lte IE 7]>

will target IE less than or equal to 7.

If that doesn't do the trick then we need a link to the problem page - or is it the one in your signature?