Conditional Comments Firefox

前端 未结 4 397
广开言路
广开言路 2020-12-21 01:07

Are there specific Conditional Comments available for older versions of Firefox? (eg 3.0)

相关标签:
4条回答
  • 2020-12-21 01:16

    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.

    0 讨论(0)
  • 2020-12-21 01:23

    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/

    0 讨论(0)
  • 2020-12-21 01:27

    Not to my knowledge. As far as I know, conditional comments are an Internet Explorer-only feature.

    QuirksMode.org agrees.

    0 讨论(0)
  • 2020-12-21 01:29

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

    0 讨论(0)
提交回复
热议问题