Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Internet Explorer if statement help

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24813
    swiss78
    Member

    Hello, please help.

    I have used a basic if statement to link to a ccc file for ie6(see below)

    <!–[if IE 6]>
    <link rel="stylesheet" type="text/css" href="css/ie.css"/>
    <![endif]–>

    the problem i am having is that the whole piece of code is commented out and looks inactive? is this normal (i dont think so as the code will be skipped) and why ?

    can somebody please explain why this is happening and what i can do.

    Thanks

    SWISS78

    #57277
    TheDoc
    Member

    That’s exactly what it should look like, no worries.

    #57299
    cssfreak
    Member

    No worries swiss78….that’s how it should look……..Only IE will interpret such conditional statements…..other browsers will treat it as a comment……..

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.