aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-09-11 17:36:15 -0700
committerMark Otto <[email protected]>2011-09-11 17:36:15 -0700
commit3ad034ea9671ffbc44278085ca3bb30979808278 (patch)
treec88296e9bae66bad4dc7342ba39d4cb0f1226377
parent1ae603fda05c96a4bc3eed284aa6b5ce7a2a93cd (diff)
downloadbootstrap-3ad034ea9671ffbc44278085ca3bb30979808278.tar.xz
bootstrap-3ad034ea9671ffbc44278085ca3bb30979808278.zip
fix legends in ie7
-rw-r--r--bootstrap-1.3.0.css6
-rw-r--r--bootstrap-1.3.0.min.css2
-rw-r--r--docs/index.html19
-rw-r--r--lib/forms.less4
4 files changed, 24 insertions, 7 deletions
diff --git a/bootstrap-1.3.0.css b/bootstrap-1.3.0.css
index fef02501d..a792c99ea 100644
--- a/bootstrap-1.3.0.css
+++ b/bootstrap-1.3.0.css
@@ -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;
diff --git a/bootstrap-1.3.0.min.css b/bootstrap-1.3.0.min.css
index f497bd367..c92c6f4e1 100644
--- a/bootstrap-1.3.0.min.css
+++ b/bootstrap-1.3.0.min.css
@@ -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;}
diff --git a/docs/index.html b/docs/index.html
index 4fc9154f3..adf58e64f 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -940,6 +940,23 @@
<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>
diff --git a/lib/forms.less b/lib/forms.less
index 2333718e0..fc30618a4 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -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 */
}
}