Remove excess padding from checkbox and radio inputs in IE7. Close #42

This commit is contained in:
Nicolas Gallagher 2012-01-17 14:17:35 +00:00
parent 3404fcb8b9
commit 31eb8b611e

6
normalize.css vendored
View File

@ -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
@ -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 */
}
/*