Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

IE conditional classes moved to html tag. Fixes #44

  • Loading branch information...
commit 35ababe1864ddad50d78bcade47d9cbea1281e24 1 parent 9cbbe83
Divya Manian authored
Showing with 8 additions and 6 deletions.
  1. +2 −0  css/style.css
  2. +6 −6 index.html
View
2  css/style.css
@@ -131,6 +131,8 @@ pre {
textarea { overflow: auto; } /* thnx ivannikolic! www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
+input, textarea, select { font-family: inherit; font-weight: inherit; } /* To make IE6/7 inherit the font styles from parent selectors */
+
.ie6 legend, .ie7 legend { margin-left: -7px; } /* thnx ivannikolic! */
/* align checkboxes, radios, text inputs with their label
View
12 index.html
@@ -1,5 +1,9 @@
<!doctype html>
-<html lang="en" class="no-js">
+<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
+<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
+<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
+<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
+<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
@@ -36,11 +40,7 @@
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
-<!--[if lt IE 7 ]> <body class="ie6"> <![endif]-->
-<!--[if IE 7 ]> <body class="ie7"> <![endif]-->
-<!--[if IE 8 ]> <body class="ie8"> <![endif]-->
-<!--[if IE 9 ]> <body class="ie9"> <![endif]-->
-<!--[if (gt IE 9)|!(IE)]><!--> <body> <!--<![endif]-->
+<body>
<div id="container">
<header>
Please sign in to comment.
Something went wrong with that request. Please try again.