]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix legends in ie7
authorMark Otto <mark.otto@twitter.com>
Mon, 12 Sep 2011 00:36:15 +0000 (17:36 -0700)
committerMark Otto <mark.otto@twitter.com>
Mon, 12 Sep 2011 00:36:15 +0000 (17:36 -0700)
bootstrap-1.3.0.css
bootstrap-1.3.0.min.css
docs/index.html
lib/forms.less

index fef02501d65b65fdd04ddf90f00b484638e0a436..a792c99eaeaac281999eeb3496fd2eb68756a704 100644 (file)
@@ -6,7 +6,7 @@
  * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Sat Sep 10 22:50:02 PDT 2011
+ * Date: Sun Sep 11 17:36:01 PDT 2011
  */
 /* Reset.less
  * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here      that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -692,13 +692,13 @@ fieldset legend {
   padding-left: 150px;
   font-size: 19.5px;
   line-height: 1;
-  *margin: 0 0 5px 145px;
+  color: #404040;
+  *padding: 0 0 5px 145px;
   /* IE6-7 */
 
   *line-height: 1.5;
   /* IE6-7 */
 
-  color: #404040;
 }
 form .clearfix {
   margin-bottom: 18px;
index f497bd367bd9c39614a9a0a13a643198c73a1157..c92c6f4e138d1d988790a3781492ee647b1796f8 100644 (file)
@@ -112,7 +112,7 @@ code,pre{padding:0 3px 2px;font-family:Monaco, Andale Mono, Courier New, monospa
 code{background-color:#fee9cc;color:rgba(0, 0, 0, 0.75);padding:1px 3px;}
 pre{background-color:#f5f5f5;display:block;padding:8.5px;margin:0 0 18px;line-height:18px;font-size:12px;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;white-space:pre;white-space:pre-wrap;word-wrap:break-word;}
 form{margin-bottom:18px;}
-fieldset{margin-bottom:18px;padding-top:18px;}fieldset legend{display:block;padding-left:150px;font-size:19.5px;line-height:1;*margin:0 0 5px 145px;*line-height:1.5;color:#404040;}
+fieldset{margin-bottom:18px;padding-top:18px;}fieldset legend{display:block;padding-left:150px;font-size:19.5px;line-height:1;color:#404040;*padding:0 0 5px 145px;*line-height:1.5;}
 form .clearfix{margin-bottom:18px;}
 label,input,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:normal;}
 label{padding-top:6px;font-size:13px;line-height:18px;float:left;width:130px;text-align:right;color:#404040;}
index 4fc9154f3c8df9f7069f5f7b45e044935bb80750..adf58e64f26b4279d4fbad27592e5797bdba8f60 100644 (file)
       <form>
         <fieldset>
           <legend>Example form legend</legend>
+
+          <table>
+            <thead>
+              <tr>
+                <th>1</th>
+                <th>2</th>
+              </tr>
+            </thead>
+            <tbody>
+              <tr>
+                <td>1</td>
+                <td>2</td>
+              </tr>
+            </tbody>
+          </table>
+
+
           <div class="clearfix">
             <label for="xlInput">X-Large input</label>
             <div class="input">
@@ -1764,7 +1781,7 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
     <h2>Compiling Less</h2>
     <p>After modifying the <code>.less</code> files in /lib/, you'll need to recompile them in order to regenerate the bootstrap-*.*.*.css and bootstrap-*.*.*.min.css files. If you're submitting a pull request to GitHub, you must always recompile.</p>
     <h3>Ways to compile</h3>
-    <table>
+    <table class="zebra-striped">
       <thead>
         <tr>
           <th style="width: 120px;">Method</th>
index 2333718e053e83da224d10b25da38d581d6d36f3..fc30618a4f073af6c17c5ebb2f3e306123bf152c 100644 (file)
@@ -19,9 +19,9 @@ fieldset {
     padding-left: 150px;
     font-size: @basefont * 1.5;
     line-height: 1;
-    *margin: 0 0 5px 145px; /* IE6-7 */
-    *line-height: 1.5; /* IE6-7 */
     color: @grayDark;
+    *padding: 0 0 5px 145px; /* IE6-7 */
+    *line-height: 1.5; /* IE6-7 */
   }
 }