aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-09-11 18:09:01 -0700
committerMark Otto <[email protected]>2011-09-11 18:09:01 -0700
commitf3f60b21a6104be999cb04f6414878fc4dea98cd (patch)
treef7352340865a65bef0e654be0e349b008bd89dd4 /lib
parent18a5ef83eff25130927e5b3a5ffb522752974eb8 (diff)
downloadbootstrap-f3f60b21a6104be999cb04f6414878fc4dea98cd.tar.xz
bootstrap-f3f60b21a6104be999cb04f6414878fc4dea98cd.zip
oops, double commit last time; apply fixes to make select elements line up in IE7 with their labels, but no height fix
Diffstat (limited to 'lib')
-rw-r--r--lib/forms.less6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/forms.less b/lib/forms.less
index a1fdbd937..90b8720f0 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -105,11 +105,9 @@ input[type=submit] {
select,
input[type=file] {
- height: @baseline * 1.5;
+ height: @baseline * 1.5; // In IE7, the height of the select element cannot be changed by height, only font-size
line-height: @baseline * 1.5;
-}
-select {
- float: left;
+ *margin-top: 4px; /* For IE7, add top margin to align select with labels */
}
textarea {