如何在8中创建圆角按钮 [英] How to create rounded corner buttons in ie 8
本文介绍了如何在8中创建圆角按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在ie中显示圆角按钮,但这在除了ie之外的所有其他浏览器中都有效。边界半径:20px;
I want to show round corner buttons in ie but this was worked in all other browsers except ie. Border-radius:20px;
推荐答案
...正如你所注意到的,IE8没有本地支持border-radius CSS3属性。
有一个可以为IE8提供圆角的插件:
CSS3 PIE [ ^ ]
它安静易用,只需从您的CSS下载并链接文件PIE.htc:
Hi,
... as you have noticed, IE8 does not have native support for border-radius CSS3 property.
There is a plugin available that can provide round corners for IE8:
CSS3 PIE[^]
It's quiet easy to use, simply download and link the file PIE.htc from your css:
#yourElement {
border: 1px solid #000;
border-radius: 10px;
}
behavior: url(path/to/pie_files/PIE.htc);
Check out the getting started guide[^]
... hope it helps.
这篇关于如何在8中创建圆角按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文