Are there specific Conditional Comments available for older versions of Firefox? (eg 3.0)
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
No, they are only supported by IE.
There are CSS hacks though. See: http://perishablepress.com/press/2009/06/28/css-hacks-for-different-versions-of-firefox/
回答2:
Not to my knowledge. As far as I know, conditional comments are an Internet Explorer-only feature.
QuirksMode.org agrees.
回答3:
I am trying to create a solid fallback for @font-face by initiating Cufón for older browsers. Conditional comments came to mind but perhaps there is another route?
You just have to inject the cufón script tags conditionally.
回答4:
Received an email from Faruk Ates the developer of [Modernizr][1]
[1]: http://www.modernizr.com/ confirming that it will do the trick.... and more:-)