CSS with if/then browser logic

前端 未结 7 1154
清酒与你
清酒与你 2021-01-05 19:37

For browsers < IE7, I want to use a certain style attribute, while for other browsers I\'d like to use another. Can I do this using a single css file, or do I have to do

7条回答
  •  再見小時候
    2021-01-05 20:29

    on the jQuery tip check out this plugin: http://jquery.thewikies.com/browser/

    a plugin to do what ghills suggests, this is a nice clean way to go.

提交回复
热议问题