]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #3674: checkbox vertical alignment in IE9
authorMark Otto <markotto@twitter.com>
Tue, 14 Aug 2012 22:29:47 +0000 (15:29 -0700)
committerMark Otto <markotto@twitter.com>
Tue, 14 Aug 2012 22:29:47 +0000 (15:29 -0700)
docs/assets/css/bootstrap.css
less/forms.less

index 5dee1cf355602242b2c8918ed30d2484e10e1235..7dd417c68e576d4ec4db57946b9036dca213fd34 100644 (file)
@@ -1013,9 +1013,8 @@ input[type="color"]:focus,
 input[type="radio"],
 input[type="checkbox"] {
   margin: 4px 0;
+  margin-top: 1px \9;
   *margin-top: 0;
-  /* IE7 */
-
   line-height: normal;
   cursor: pointer;
 }
index 852f0bb6bed61805b56b10f062c4cf44cb29a961..490b6bb91fcfcc323a73c2dde19ca16666f104a3 100644 (file)
@@ -134,6 +134,7 @@ input[type="radio"],
 input[type="checkbox"] {
   margin: 4px 0;
   *margin-top: 0; /* IE7 */
+  margin-top: 1px \9; /* IE8-9 */
   line-height: normal;
   cursor: pointer;
 }