开发者

Ie css hack star

开发者 https://www.devze.com 2023-03-29 17:10 出处:网络
What are the different ways of writing css h开发者_StackOverflowacks for ie? I have seen html >, *..

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).

0

精彩评论

暂无评论...
验证码 换一张
取 消