You can try adding these rules to the end of your theme stylesheet. They use the browser-specific classes to tweak things for just IE7.
[css]
body .gf_browser_ie.gf_browser_ie7.gform_wrapper ul.right_label li.gfield div.ginput_container,
body .gf_browser_ie.gf_browser_ie7.gform_wrapper ul.left_label li.gfield div.ginput_container {
float:left;
width:68%
}
body .gf_browser_ie.gf_browser_ie7.gform_wrapper ul.right_label li.gfield div.ginput_container ul.gfield_checkbox,
body .gf_browser_ie.gf_browser_ie7.gform_wrapper ul.right_label li.gfield div.ginput_container ul.gfield_radio,
body .gf_browser_ie.gf_browser_ie7.gform_wrapper ul.left_label li.gfield div.ginput_container ul.gfield_checkbox,
body .gf_browser_ie.gf_browser_ie7.gform_wrapper ul.left_label li.gfield div.ginput_container ul.gfield_radio {
margin-left: 0 !important
}
test screenshot: http://bit.ly/yAAlgs
If you need to make other adjustments, just follow the example using the same CSS specificity and targeting the elements you need. I'm about to officially drop support for IE7 as it's more than 2 versions back now and a bit long in the tooth. The classes will still exist though so you can easily fine tune the display for the specific browser if you need.
Posted 13 years ago on Tuesday February 21, 2012 |
Permalink