diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/fix-ie5-ie6.css | 18 | ||||
-rw-r--r-- | themes/default/theme.css | 30 |
2 files changed, 34 insertions, 14 deletions
diff --git a/themes/default/fix-ie5-ie6.css b/themes/default/fix-ie5-ie6.css index c529b3a8c..b3ed58996 100644 --- a/themes/default/fix-ie5-ie6.css +++ b/themes/default/fix-ie5-ie6.css @@ -49,6 +49,24 @@ H1, #theHeader { width: 99%; /* correct an ugly 1 or 2 px misalignement with IE */ } +.filter LABEL INPUT, +.filter LABEL SELECT, +.filter LABEL SPAN, +.filter LABEL TEXTAREA { + display: block; + margin: 0.5em 0; +} +.filter FIELDSET * LABEL INPUT, +.filter FIELDSET * LABEL SELECT, +.filter FIELDSET * LABEL TEXTAREA, +.filter LABEL SPAN INPUT, +.filter LABEL SPAN SELECT, +.filter LABEL SPAN TEXTAREA { + display: inline; + vertical-align: top; + margin: 0 0.5em 0 0; +} + .pwg-icon { display: block; } diff --git a/themes/default/theme.css b/themes/default/theme.css index 9a74d6a7d..3a19b081a 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -530,20 +530,21 @@ FIELDSET { margin-right:0.5em;/*reduce from above*/ } -/* cannot use FIELDSET>LABEL because of IE<=6 */ -.filter LABEL INPUT, -.filter LABEL SELECT, -.filter LABEL SPAN, -.filter LABEL TEXTAREA { - display: block; - margin: 0.5em 0; -} -.filter FIELDSET * LABEL INPUT, -.filter FIELDSET * LABEL SELECT, -.filter FIELDSET * LABEL TEXTAREA, -.filter LABEL SPAN INPUT, -.filter LABEL SPAN SELECT, -.filter LABEL SPAN TEXTAREA { +/*IE6 needs override because of > selector*/ +.filter LABEL>INPUT, +.filter LABEL>SELECT, +.filter LABEL>SPAN, +.filter LABEL>TEXTAREA { + display: block; + margin: 0.5em 0; +} + +.filter FIELDSET * LABEL>INPUT, +.filter FIELDSET * LABEL>SELECT, +.filter FIELDSET * LABEL>TEXTAREA, +.filter SPAN>INPUT, +.filter SPAN>SELECT, +.filter SPAN>TEXTAREA { display: inline; vertical-align: top; margin: 0 0.5em 0 0; @@ -551,6 +552,7 @@ FIELDSET { + .filter INPUT[type="submit"] { margin-top: 1em; } |