简体   繁体   中英

CSS rounded corners IE8 and IE7

is it possible to have rounded corners in IE8 and 7?

Here is my code below:

#box{
        background-color:#000;
        color:#FFF;
        text-transform:uppercase;
        font-weight:bold;
        height:50px;
        border-radius:10px;
        -webkit-border-radius: 10px;
        -moz-border-radius:10px;
        font-size:16px;
}

Thanks, J

不带边框半径,您将需要使用图像

您可以使用CSS3 Pie( http://css3pie.com/ )-这是一个javascript库,可重新创建IE6-9中的CSS3功能,包括border-radius。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM