1

可以在 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

预先感谢您的帮助

4

1 回答 1

0

Hey Jakub you can use PIE.htc for your desired result...

PIE makes Internet Explorer 6-9 capable of rendering several of the most useful CSS3 decoration features.....

Read more about PIE.HTC

于 2013-05-15T12:22:14.393 回答