cssinternet-explorer-7stylesheet

CSS [if IE7] in StyleSheet?


Can you define an [if IE7] in the actual stylesheet? Or must you do it in the html to pull a different SS?

Thanks! (Google isn't being kind to me =/)


Solution

  • You must do it in the HTML. There are various hacks to achieve similar behavior in CSS, but avoid them, as they may break in future browser versions.