aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-05-24 12:33:47 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-05-24 12:33:47 +0100
commit47979155279b45b9bb4b12b57cde49c6bf00681f (patch)
treef9de9a529d86452817d23a8fb746e1c400358fac /web
parent33b23609ea599eef8cbaa791a2c4e8baf97ec865 (diff)
Fix input display in IE7 due to margin inheritance bug.
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet/_base.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/cobrands/fixmystreet/_base.scss b/web/cobrands/fixmystreet/_base.scss
index 8e1a3ccfa..a0397bb4b 100644
--- a/web/cobrands/fixmystreet/_base.scss
+++ b/web/cobrands/fixmystreet/_base.scss
@@ -262,6 +262,14 @@ textarea {
textarea {
max-width: 95%;
}
+ // In order to work around the IE7 specific issue of inheriting left margins
+ // http://techblog.willshouse.com/2009/07/12/ie6ie7-form-element-margin-inheritance-bug/
+ fieldset > input[type=text],
+ fieldset > input[type=password],
+ fieldset > input[type=email],
+ fieldset > textarea {
+ margin-left: -1em;
+ }
}
textarea {