aboutsummaryrefslogtreecommitdiff
path: root/lib/forms.less
diff options
context:
space:
mode:
Diffstat (limited to 'lib/forms.less')
-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 {