File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 6161 _display : block;
6262 }
6363
64- /* IE 6 , IE 7 and IE 8 */
65- body # ie6andie7andie8 {
64+ /* IE6, IE 7 , IE 8 and IE 9 */
65+ body # ie6andie7andie8andie9 {
6666 display : block\9;
6767 }
6868
6969 /* IE 8 */
7070 body # ie8 {
7171 display : block\9;
7272 * display : none; /* overwrite for ie6 and ie7*/
73- }
73+ }
74+ body # ie8 : nth-of-type (1n ){ /* overwrite for ie9 which still also reads the \9 hack */
75+ display : none;
76+ }
77+
78+ /* IE 9+ */
79+ body # ie9 : nth-of-type (1n ){
80+ display : block;
81+ }
7482
7583 /* Webkit (Safari and Chrome) */
7684 @media screen and (-webkit-min-device-pixel-ratio : 0 ) {
97105 < p id ="ie7 "> IE 7</ p >
98106 < p id ="ie6 "> IE 6</ p >
99107 < p id ="ie6andie7 "> IE 6 and IE7</ p >
100- < p id ="ie6andie7andie8 "> IE6, IE 7 and IE8 </ p >
108+ < p id ="ie6andie7andie8andie9 "> IE6, IE 7, IE 8 and IE 9 </ p >
101109 < p id ="ie8 "> IE8</ p >
110+ < p id ="ie9 "> IE9+</ p >
102111 < pre >
103112 check the code to see how the CSS Hacks work
104113 </ pre >
You can’t perform that action at this time.
0 commit comments