Creating rounded corners in IE7 / IE8

前端 未结 5 724
醉酒成梦
醉酒成梦 2020-12-20 14:45

I am creating a rounded corners tabs, that works fine in IE9, Mozilla and Chrome, but not in IE7/IE8.

Here is the code:



        
5条回答
  •  礼貌的吻别
    2020-12-20 15:18

    There are following solutions :

    1. CSSPie (http://css3pie.com/ but its compressed js file is 40 KB in size)
    2. There is another solution using htc file for IE

          behavior: url(http://yoursite.com/border-radius.htc);
               (almost 40 KB of size)
      

      The guide can be found here http://dimox.net/cross-browser-border-radius-rounded-corners/

    3. Another solution that I personally recommend is :

           jquery.corner.js (http://jquery.malsup.com/corner/) 
      

      It's uncompressed js file is 10 KB in size.

提交回复
热议问题