Skip to content

Commit

Permalink
Add fix for legend not inheriting color in IE6/7/8/9
Browse files Browse the repository at this point in the history
  • Loading branch information
necolas committed Jun 20, 2011
1 parent 79c278f commit bac7c31
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -276,15 +276,17 @@ fieldset {
}

/*
* Corrects alignment displayed oddly in IE6/7
* 1. Corrects color not being inherited in IE6/7/8/9
* 2. Corrects alignment displayed oddly in IE6/7
*/

legend {
*margin-left: -7px;
border: 0; /* 1 */
*margin-left: -7px; /* 2 */
}

/*
* 1. Corrects font size not being inherited from ancestor
* 1. Corrects font size not being inherited in all browsers
* 2. Addresses margins set differently in IE6/7, F3/4, S5, Chrome
* 3. Improves appearance and consistency in all browsers
*/
Expand Down

0 comments on commit bac7c31

Please sign in to comment.