# Fooling IE CSS-wise

**URL:** https://forum.kirupa.com/t/fooling-ie-css-wise/204117
**Category:** web dev
**Created:** [October 17, 2006, 8:15am UTC](https://forum.kirupa.com/t/fooling-ie-css-wise/204117 "2006-10-17T08:15:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hypnotoad](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hypnotoad](https://forum.kirupa.com/u/hypnotoad)
#### Post date: [October 17, 2006, 8:15am UTC](https://forum.kirupa.com/t/fooling-ie-css-wise/204117/1 "2006-10-17T08:15:49Z")

</div>

Yo,

Ok, I’m developing a site using CSS and, of course, IE is acting up. I have read that you can use:

```auto

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

```

To force IE to use a different CSS sheet, but I don’t know where this code goes…in the main CSS file or in the index HTML?

EDIT:

Ok, I’ve found that it goes in the HTML, but it doesn’t seem to work. Any ideas?

Tip came from [http://www.456bereastreet.com/archive/200503/css\_tips\_and\_tricks\_part\_2/](http://www.456bereastreet.com/archive/200503/css_tips_and_tricks_part_2/)

Thx in advance.
