]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
more little ie6-7 hacks :/
authorJacob Thornton <jacobthornton@gmail.com>
Mon, 22 Aug 2011 03:41:34 +0000 (20:41 -0700)
committerJacob Thornton <jacobthornton@gmail.com>
Mon, 22 Aug 2011 03:41:34 +0000 (20:41 -0700)
lib/forms.less

index f958693fc4bcca436d27f58ffe787f4e97b0e331..6e440feaea4e82809ac83bf188aa43a5f92c62ae 100644 (file)
@@ -18,6 +18,8 @@ form {
       margin-left: 150px;
       font-size: 20px;
       line-height: 1;
+      *margin: 0 0 5px 145px; /* IE6-7 */
+      *line-height: 1.5; /* IE6-7 */
       color: @grayDark;
     }
   }
@@ -204,6 +206,8 @@ div.actions {
 }
 .help-inline {
   padding-left: 5px;
+  *position: relative; /* IE6-7 */
+  *top: -5px; /* IE6-7 */
 }
 
 // Big blocks of help text
@@ -257,6 +261,13 @@ div.input-append {
     border-color: @green;
   }
 }
+
+div.input-prepend {
+  .add-on {
+    *margin-top: 1px; /* IE6-7 */
+  }
+}
+
 div.input-append {
   input[type=text] {
     float: left;