Commit 21d005c7 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#171963 by dvessel and momendo: fix background positioning in fieldsets in IE7

parent 93073218
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment