CSS tricks for IE6,IE7,IE8,IE9
Published in:2015-01-28 | Category: Frontend
Words: 89 | Reading time: 1min | Reading:

As web developer, we usually to fix the style for special version of IE. Here are the newest CSS tricks for IE6, IE7, IE8, IE9. This is very helpful for you.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ie-tricks{

/* All browsers */
color:red;

/* All browsers but IE6 */
color:red !important;

/* Only works in IE6 */
_color:red;

/* IE6, IE7 */
*color:red;

/* Only works in IE7*/
+color:red;

/* Only works in IE7 */
*+color:red;

/* IE6, IE7, IE8, IE9 */
color:red\9;

/* IE8, IE9 */
color:red\0;

/*Only works in IE9*/
color:red\9\0;

}
Prev:
Conditional Stylesheets for IE version
Next:
A New Way For Developing Web Application Front-End