Skip to content

Commit 3404fcb

Browse files
committed
Normalize only the left margin of lists. Fix necolas#49
Prevent the addition of vertical margins on nested lists without interferred with author expectations when customising margins directly on 'ul' or 'ol' selectors later in the stylesheet. Left margin needs to be normalized to remove it from IE6/7. Close necolas#57
1 parent 77e9ef4 commit 3404fcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

normalize.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! normalize.css 2011-11-04T15:36 UTC - http://github.com/necolas/normalize.css */
1+
/*! normalize.css 2011-11-04T15:38 UTC - http://github.com/necolas/normalize.css */
22

33
/* =============================================================================
44
HTML5 display definitions
@@ -239,7 +239,7 @@ sub {
239239

240240
ul,
241241
ol {
242-
margin: 1em 0;
242+
margin-left: 0;
243243
padding: 0 0 0 40px;
244244
}
245245

0 commit comments

Comments
 (0)