summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-09-06 12:55:55 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-09-06 12:55:55 +0000
commit21d005c7543d3d5a13069a1889a9549afca73d57 (patch)
treee406abdb8d824e4d0d0c8777a8ac8cf53245ff61 /themes
parent9307321817e60ad649a6e166ddaacc7307b333e7 (diff)
downloadbrdo-21d005c7543d3d5a13069a1889a9549afca73d57.tar.gz
brdo-21d005c7543d3d5a13069a1889a9549afca73d57.tar.bz2
#171963 by dvessel and momendo: fix background positioning in fieldsets in IE7
Diffstat (limited to 'themes')
-rw-r--r--themes/garland/style.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/themes/garland/style.css b/themes/garland/style.css
index b98d87c26..e95c822aa 100644
--- a/themes/garland/style.css
+++ b/themes/garland/style.css
@@ -825,11 +825,26 @@ fieldset {
background: #fff url(images/gradient-inner.png) repeat-x 0 0;
}
+/* Targets IE 7. Fixes background image in field sets. */
+*:first-child+html fieldset {
+ padding: 0 1em 1em;
+ background-position: 0 .75em;
+ background-color: transparent;
+}
+
+*:first-child+html fieldset > .description, *:first-child+html fieldset .fieldset-wrapper .description {
+ padding-top: 1em;
+}
+
fieldset legend {
/* Fix disappearing legend in FFox */
display: block;
}
+*:first-child+html fieldset legend, *:first-child+html fieldset.collapsed legend {
+ display: inline;
+}
+
html.js fieldset.collapsed {
background: transparent;
padding-top: 0;