Skip to content

Commit d3f1a0e

Browse files
author
Dirk Ginader
committed
added missing exclude for other modern Browsers who also read the CSS3 selector. IE9 Hack is now perfect.
1 parent 929e7c6 commit d3f1a0e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@
1414
* http://www.opensource.org/licenses/mit-license.php
1515
* http://www.gnu.org/licenses/gpl.html
1616
*
17-
* Version: 1.4
17+
* Version: 1.4.1
1818
*
1919
* History:
2020
* * 1.0 initial release
2121
* * 1.3 adding support for Firefox 3.5+
2222
* * 1.4 adding support for Internet Explorer 9+
23+
* * 1.4.1 added missing exclude for other modern Browsers who also read the CSS3 selector. IE9 Hack is now perfect.
2324
-->
2425

2526
<style type="text/css">
@@ -77,8 +78,8 @@
7778
}
7879

7980
/* IE 9+ */
80-
body #ie9:nth-of-type(1n){
81-
display:block;
81+
body #ie9:nth-of-type(1n){ /* CSS3 Selector that is interpreted by many modern Browsers including IE()*/
82+
display:block\9; /* Hack to specify Internet Explorers including 9 so we exclude FF, webkit, etc */
8283
}
8384

8485
/* Webkit (Safari and Chrome) */

0 commit comments

Comments
 (0)