• Here is my website https://nickhiebert.com I want to make my website display properly in Opera 10.

    If anyone knows the proper code to setup a css hack in the header.php file? I’m using WordPress.

    For IE I’m using:

    <link rel="stylesheet" href="style.css" type="text/css" />
    <!--[if lte IE 6]>
    <link rel="stylesheet" href=" styleie6.css " media="screen" /><
    <![endif]-->
    
    <!--[if lte IE 7]>
    <link rel="stylesheet" href=" styleie7.css " media="screen" /><
    <![endif]-->
    
    <!--[if lte IE 8]>
    <link rel="stylesheet" href=" styleie8.css " media="screen" /><
    <![endif]-->

    Assuming Opera 10 is setup similarly

Viewing 3 replies - 1 through 3 (of 3 total)
  • Assuming Opera 10 is setup similarly

    No, it isn’t. So far as I know, only IE accepts conditional tags.

    Thread Starter nickelbert

    (@nickelbert)

    So If I just code IE 6/7/8 it should work?

    If there is some other code needed can someone post it. I Haven;t had much luck with it.

    So If I just code IE 6/7/8 it should work?

    It should work for IE, not for Opera. IE is the only browser out there that is going to read conditional tags. For Opera you are going to have to do something else. Opera is a respectably compliant browser. If I were having trouble with it I’d start to wonder whether there was something conceptually wrong with my page. And there is something squirelly about this page. Its valid, but there is something odd. I can’t quite put my finger on it. Things I’ve noticed:

    • You have two calls to load the stylesheet.
    • Your ‘about’ link appears in the source but not on the page due to you overflow:hidden setting I think.
    • If you adjust the width on #nav to about 498px the nav links line up next to the image in Opera 10. This makes me think that your various margins, paddings, and widths are adding up to a larger number than you think.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do you setup a Opera 10 only stylesheet’ is closed to new replies.