# Conditional tylesheet for IE7 not loading

**URL:** <https://forum.kirupa.com/t/conditional-tylesheet-for-ie7-not-loading/314497>\
**Category:** web dev\
**Created:** [September 30, 2010, 9:20am UTC](https://forum.kirupa.com/t/conditional-tylesheet-for-ie7-not-loading/314497 "2010-09-30T09:20:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spindrift](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@spindrift](https://forum.kirupa.com/u/spindrift)\
**Post date:** [September 30, 2010, 9:20am UTC](https://forum.kirupa.com/t/conditional-tylesheet-for-ie7-not-loading/314497/1 "2010-09-30T09:20:13Z")

</div>

Hi guys!

I’ve created a site for a client which works fine in Firefox, and surprisingly, almost does in IE.

The logo is slightly out of line in IE7 and earlier. I’ve edited the CSS using the IE Dev Toolbar and uploaded another stylesheet for users with IE7, but for some reason it seems that the stylesheet is not being loaded and it’s loading the default stylesheet when I test in NetRenderer and IE Tester.

Here is the code I’m using:

```auto

<link rel="stylesheet" href="scripts/style.css" type="text/css">
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="scripts/ie7style.css" /><![endif]-->

```

Is there anything wrong with this? You can check out the test site by [clicking here](http://www.spindriftmedia.com/clients/leecunningham).

Any help would be much appreciated.

Thank you very much,

SM
