Ie css hack star
What are the different ways of writing css h开发者_StackOverflowacks for ie?
I have seen html >, *.. but it is all very confusing..
Are there hacks to target specific ie versions like ie7, ie8 ?
I would recommend splitting IE "hacks" into a separate stylesheet so than can be dropped in the future as support for those browsers is dropped.
With this approach, you can use conditional comments to add the appropriate stylesheet for the appropriate version on IE.
Here's a good post on conditional comments: http://css-tricks.com/132-how-to-create-an-ie-only-stylesheet/
There plenty of such topics. But to be constructive, here is the topic of IE CSS hacks explained (below conditional statements).
精彩评论