http://css-tricks.com/how-to-create-an-ie-only-stylesheet/

This would go in your <head> with all the other regular CSS <link>ed CSS files. The opening and closing tags should be familiar, that’s just regular ol’ HTML comments.

Then between the brackets, “IF” and “IE” should be fairly obvious. The syntax to note is “!” stand for “not”, so !IE means “not IE”. gt means “greater than”,

gte means “greater than or equal”, lt means “less than”, lte means “less than or equal.”

Target ALL VERSIONS of IE

<!–[if IE]>

<link rel=”stylesheet” type=”text/css” href=”all-ie-only.css” />

<![endif]–>

Target everything EXCEPT IE

<!–[if !IE]><!–>

<link rel=”stylesheet” type=”text/css” href=”not-ie.css” />

<!–<![endif]–>

Target IE 7 ONLY

<!–[if IE 7]>

<link rel=”stylesheet” type=”text/css” href=”ie7.css”>

<![endif]–>

Target IE 6 ONLY

<!–[if IE 6]>

<link rel=”stylesheet” type=”text/css” href=”ie6.css” />

<![endif]–>

Hacks

IE-7 ONLY

* html #div {

height: 300px;

}

NON IE-7 ONLY:

#div {

_height: 300px;

}

Hide from IE 6 and LOWER:

#div {

height/**/: 300px;

}