2013-05-15 42 views
1

在IE 7中使用CSS圆角可以做到这一点吗?我有div的圆角和里面IE7中的CSS圆角图像?

CODE:

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> 

事业部已经圆角,但图像股利的外部延伸;/

SCREEN: http://prntscr.com/14zx09

预先感谢您的帮助

回答

0

嘿的Jakub,你可以使用PIE.htc你想要的结果......

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

Read more about PIE.HTC

+0

你给出什么样的网址并非worki在IE8中,未在其他版本中测试。 – user2086641