通過CSS Hack 區分 FF/IE7/IE6/IE5.5/IE5 代碼推薦

來源:互聯網
上載者:User

xmlns="http://www.w3.org/1999/xhtml">


這是在 FireFox 或者 Opera 下面的效果這是在 IE 6 下面的效果這是在 IE 7 下面的效果以下為簡單區分FF/IE6/IE7樣本這行文字在FF下應為紅色,在IE6下應為藍色,在IE7下應為綠色。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.