Hello and welcome to our community! Is this your first visit?
Register
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
    Posts
    315
    Thanks
    18
    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" />
    <![endif]-->

    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
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,955
    Thanks
    9
    Thanked 726 Times in 720 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:

    Code:
    <!--[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
    •