From 31eb8b611e1de369a61b44e135ea2474711479a5 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Tue, 17 Jan 2012 14:17:35 +0000 Subject: [PATCH] Remove excess padding from checkbox and radio inputs in IE7. Close #42 --- normalize.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/normalize.css b/normalize.css index 9776813..df50916 100644 --- a/normalize.css +++ b/normalize.css @@ -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 */ } /*