Skip to content

Commit

Permalink
Remove excess padding from checkbox and radio inputs in IE7. Close ne…
Browse files Browse the repository at this point in the history
  • Loading branch information
necolas committed Jan 17, 2012
1 parent 3404fcb commit 31eb8b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion normalize.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! normalize.css 2011-11-04T15:38 UTC - http://github.com/necolas/normalize.css */
/*! normalize.css 2012-01-17T14:17 UTC - http://github.com/necolas/normalize.css */

/* =============================================================================
HTML5 display definitions
Expand Down Expand Up @@ -367,12 +367,16 @@ input[type="submit"] {
/*
* 1. Addresses box sizing set to content-box in IE8/9
* 2. Removes excess padding in IE8/9
* 3. Removes excess padding in IE7
Known issue: excess padding remains in IE6
*/

input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
*height: 13px; /* 3 */
*width: 13px; /* 3 */
}

/*
Expand Down

0 comments on commit 31eb8b6

Please sign in to comment.