-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting styles for IE8> using IE Helper Conditionals #280
Comments
Hi Jon,
That's correct, but it shouldn't result in additional download. We use the approach outlined here to conditionally include one stylesheet for IE6, IE7, IE8 or IE9+/not-IE.
This will result in 4 different CSS files being generated, but only one should be downloaded by a user. If you're following the same pattern in your application CSS files you'll need to repeat the conditional logic. Does that help? |
Thanks @dsingleton. I was missing this little hack ;) |
@jonhurrell No worries - it's not very clear in our docs, and we should improve it. What would you have found useful, in terms of docs, or examples, or something else? |
Some comments here, would have helped. I know of a fair amount of projects that have approached IE/main stylesheets linking similar to my original intent e.g.:
|
So I've created an IE8 stylesheet which is linked via a conditional comment, am I correct in setting the flags, then importing in my main stylesheet again?
However, this is going to request an additional download of the duplicate rule-set of the main stylesheet, with the IE specific output. This obviously isn't great for performance. Is this the intended method?
The text was updated successfully, but these errors were encountered: