• hello,
    I use Firefox but occasionally view my site with IE. There’s always been a few differences but I just discovered that my site in IE is showing as if it has no css at all. I don’t even know where to begin to figure out the problem, any help will be much appreciated.
    my site is.
    http://www.soberrycool.com and I’m using the connections theme.
    Thank you
    Angalee

Viewing 9 replies - 1 through 9 (of 9 total)
  • In header.php, is this line:
    @import url
    followed by an address in brackets

    Try putting a ‘ at the start and end of that address ?

    And take time to validate your site as there are many other problems.

    Thread Starter soberrycool

    (@soberrycool)

    In the page source I see the command @import url, but in header.php I don’t see it. this is my header.php

    <div id=”header”>
    <ul id=”topnav”>

    Sorry – for that theme it’s in index.php

    <style type="text/css" media="screen">
    @import url( <?php bloginfo('stylesheet_url'); ?> );
    </style>

    Change to
    <style type="text/css" media="screen">
    @import url(' <?php bloginfo('stylesheet_url'); ?>' );
    </style>

    Thread Starter soberrycool

    (@soberrycool)

    I changed the code but it doesn’t appear to have changed anything in Internet explorer.
    I’ve added several plugins could one of them be causing it?
    I also went to the validation link suggested by Lorelle and I’m in the process of fixing the invalid code.

    Thank you

    you still have a space inside the quotes, before “http”, and the parantheses+semicolon are preceded by a newline, which may be causing IE not to like it.

    Thread Starter soberrycool

    (@soberrycool)

    I removed the spaces and the line break but still no change.
    I can’t figure out why it is all of a sudden happening.
    I recently added the plugs- ins bdp-referral tracker and the follow url plug-in. I ‘m afraid when I installed one I may have messed something up. I deactivated both but still no change.

    Thread Starter soberrycool

    (@soberrycool)

    I removed all plug-ins, no change
    I’ve double checked the css against the original css.
    I had about 88 validations errors and I’ve corrected all but 12, it was 8 but then went up to 12, I’m still working on it.

    I’m just stumped, but considering how little I know about php that’s not hard to do.

    Thread Starter soberrycool

    (@soberrycool)

    O.k I fixed it..not sure what caused it but reloaded the them style.css fixed it.

    Thank you podz, jcraveiro and Lorelle for being so neighborly and helping me.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘no css in IE’ is closed to new replies.