Skip to content

Commit

Permalink
Normalize only the left margin of lists. Fix necolas#49
Browse files Browse the repository at this point in the history
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
  • Loading branch information
necolas committed Nov 4, 2011
1 parent 77e9ef4 commit 3404fcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions normalize.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! normalize.css 2011-11-04T15:36 UTC - http://github.com/necolas/normalize.css */
/*! normalize.css 2011-11-04T15:38 UTC - http://github.com/necolas/normalize.css */

/* =============================================================================
HTML5 display definitions
Expand Down Expand Up @@ -239,7 +239,7 @@ sub {

ul,
ol {
margin: 1em 0;
margin-left: 0;
padding: 0 0 0 40px;
}

Expand Down

0 comments on commit 3404fcb

Please sign in to comment.