IE does not see external css file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • unpresedented
    New Member
    • Feb 2010
    • 11

    #1

    IE does not see external css file

    Hi.
    I wrote something like:

    Code:
    echo "test <br>";
    ?>
    <link rel="stylesheet" type="text/css" href="mystyle.css" />
    ?>
    echo "<table class="my_table">;
    echo "<tr><td>this is a test</td></tr>";
    echo "</table>";
    firefox can see the style and apply it to the table but IE 8 not seeing it !! this is really a weird behaviour !! can anybody help me with this ?
    thanks in advance ...

    p.s. i also tried to include the property : media=screen .. but negative :(
    Last edited by Atli; Apr 25 '10, 02:02 PM. Reason: Added [code] tags.
  • unpresedented
    New Member
    • Feb 2010
    • 11

    #2
    Originally posted by unpresedented
    Hi.
    I wrote something like:

    echo "test <br>";
    ?>
    <link rel="stylesheet " type="text/css" href="mystyle.c ss" />
    ?>
    echo "<table class="my_table ">;
    echo "<tr><td>th is is a test</td></tr>";
    echo "</table>";

    firefox can see the style and apply it to the table but IE 8 not seeing it !! this is really a weird behaviour !! can anybody help me with this ?
    thanks in advance ...

    p.s. i also tried to include the property : media=screen .. but negative :(
    i found out the reason.
    it's because that there is an error in the css file which causes IE 8 to ignore the whole file.

    Comment

    Working...