【问题标题】:CSS round corners images in IE7?IE7中的CSS圆角图像?
【发布时间】:2013-05-15 20:51:43
【问题描述】:

可以在 IE 7 中使用 CSS 圆角来处理图像吗?我有圆角的 div,里面是

代码:

CSS:

.box2 {

width: 150px;
height: 150px;
margin: 0 auto 35px auto;
padding: 30px;
color: #fff;
font-weight: bold;
border: 5px solid #35b70e;
border-radius:200px; 
overflow:hidden;
behavior:url(border-radius.htc);

}

HTML:

<div class="box2">
<img class="super" alt="" src="https://www.google.pl/images/srpr/logo4w.png"></img></a>
</div>

Div 有圆角,但图像延伸到 div 之外;/

屏幕: http://prntscr.com/14zx09

提前感谢您的帮助

【问题讨论】:

    标签: css internet-explorer rounded-corners


    【解决方案1】:

    嗨,Jakub,您可以使用 PIE.htc 来获得您想要的结果...

    PIE 使 Internet Explorer 6-9 能够呈现多个 最有用的 CSS3 装饰功能.....

    Read more about PIE.HTC

    【讨论】:

    • 您给的网址在IE8中无效,其他版本未测试。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-14
    • 2013-02-16
    • 2011-10-19
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多