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

Home Forums CSS IE Conditional Tags in CSS stylesheet?

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #45045

    Hi all,

    I learned about IE conditional tags, but I was wondering is there a code to place them in the CSS Stylesheet as opposed to in my Header?


    Urgh, sorry guys, was trying to add code, and it wasn’t working. Wish I could delete the other 2 posts. My apologies, all.


    Code adjusted and previous posts deleted.

    I do question what it is you are trying to achieve though.

    `filter` is not supported by IE at present and thus would be ignored.


    @robertallen, use the IE conditional tags to add an IE only class to the body. Then you can control styling through your .css file.


    Thank you guys.

    Well I was learning that it’s best if all CSS styles are kept in a stylesheet and not inside a header. This was the only one that I had that was a bit different than the rest.

    But, like you mentioned, Paulie, it looks like I don’t even need to bother with this.

    I read also that it’s faster on browsers if all CSS and Javascript is combined into one file rather than multiple files. I don’t honestly see how that’s faster, but I’m willing to try it if it does work.

    Thank you guys again!

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