treehouse : what would you like to learn today?
Web Design Web Development iOS Development

[Solved] IE css sheet isn't loading

  • Can any sainted soul tell me why my conditional IE css sheet isn't loading? I'm sure there's something dumb that I'm missing.

    www.johnsonandbell.net

    the statement I have is <[exclamation-point]--[if IE]> /ie.css" media="all" type="text/css" /><![endif]-->

    (sorry, not sure how to make that first ! in this forum without it commenting out my line)

    I've tried hard coding the path. I've tested my conditional statement with text and that works, so I know it isn't that.

  • Why not do it like you have for your HMT5 shiv and target less than IE9 (or whatever)?

    Then again I can't actually see an IE.css file in your CSS folder..so that might be it!

  • Aye the ie.css file is producing a 403 error the conditional statement works just tested it myself on a demo page in ie. I've got a sneaking suspicion its the permissions set on the ie.css file assuming its in the root of the theme, rather than in the css subfolder

  • I thought replied to this, but apparently I didn't. yes, it was the permissions not being set properly. thank you!