Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Apr 2005
    Thanked 2 Times in 2 Posts

    Problems with IE8

    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?

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Ilkley, West Yorkshire, UK
    Thanked 727 Times in 721 Posts
    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?


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts