/ Published in: CSS
URL: http://www.ibloomstudios.com/articles/the_ie7_css_hack/
Kudos to Nicholas Gagne for this.
From his site: The :empty selector is part of the CSS3 specification, and although it is not accurately supported by Safari, it will still select the element (whether it is empty or not)..... With this IE7 CSS hack you will be able to apply specific styles that will only affect all versions of Internet Explorer including Internet Explorer 7.
Expand |
Embed | Plain Text
/** Set IE styles here **/ #homepage { margin-left:15px; margin-bottom:-13px; } /** IE doesn't recognize the empty tag, so make adjustments here for other browsers **/ #homepage:empty { margin-bottom:-10px !important; }
You need to login to post a comment.
