Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update CSS comments

The margin of lists in IE6/7 is set by 'pt', not relative to the root
font-size. This is contrary to the HTML5 spec and other modern
browsers, including IE8+.

If people need to customize the list margin, they can either edit
normalize.css directly or override later in the source. But at least
any non-customised lists will behave consistently now.
  • Loading branch information...
commit bd629d75577012dc23ff51598918c26c704f529a 1 parent 5f957d3
@kristerkari authored
Showing with 9 additions and 3 deletions.
  1. +9 −3 normalize.scss
View
12 normalize.scss
@@ -226,6 +226,8 @@ sub {
// Lists
// =============================================================================
+// Addresses margins set differently in IE6/7
+
dl,
menu,
ol,
@@ -235,6 +237,12 @@ ul {
margin: 1em 0;
}
+dd {
+ margin: 0 0 0 40px;
+}
+
+// Addresses paddings set differently in IE6/7
+
details,
menu,
ol,
@@ -242,9 +250,7 @@ ul {
padding: 0 0 0 40px;
}
-dd {
- margin: 0 0 0 40px;
-}
+// Corrects list images handled incorrectly in IE7
nav {
ul,
Please sign in to comment.
Something went wrong with that request. Please try again.