ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

<!--[if IE 6]> seems not to be working

September 08, 2007 10:32pm

Subscribe [1]
  • #1 / Sep 08, 2007 10:32pm

    johnHoysa

    79 posts

    So i am trying to import a new stylesheet if IE is being used. Below is the code and usually use and i am not really sure why its not working.

    <!--[if IE 6]>
    <link rel="stylesheet" type="text/css" media="all" href="{stylesheet=includes/ie_type}"  />
    <![endif]-->

    I have tried placing it directcly into the header with no results. I have also tried placing it with a template and imported it with {embed="includes/css_main"} css_main contains all the links to my other css sheets.

    is it the “_” causing the issues?

    is my

    <link rel="stylesheet" type="text/css" media="all" href="{stylesheet=includes/ie_type}"  />

    setup properly?

    I have also tried taking the “6” out so its just <!—[if IE]> thinking that my only issues between 6 and 7 are very similar that if i fix it in 6 that 7 will also look good.

    I am using EE build 1.6.0 if that helps out at all.

    Thanx for the support!

  • #2 / Sep 10, 2007 8:13pm

    e-man

    1816 posts

    Have you checked that ie_type is indeed setup as a stylesheet?
    Check your template preferences and check “type” to see that it really is a stylesheet.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases