开发者

when using ie-css3.htc hover stop working for elements

开发者 https://www.devze.com 2023-03-11 17:18 出处:网络
.search .search_place li.search_button a { background: #017aa7; padding: 10px; color: #fff; text-decoration: none;
.search .search_place li.search_button a { 
background: #017aa7; 
padding: 10px; 
color: #fff; 
text-decoration: none; 
font: normal normal bold 12px/1.5 "Arial", Helvetica, sans;
border-radius: 4px;
-moz-borde开发者_StackOverflowr-radius: 4px;
-webkit-border-radius: 4px;
behavior: url(ie-css3.htc);
z-index: 100;
position: relative;
}

.search .search_place li.search_button a:hover { 
background: #ffa63c; 
}

i am using this IE7 hack for rounded corners: http://code.google.com/p/box-shadow/downloads/detail?name=ie-css3.htc&can=2&q=

but when i am using this htc file hover stop working. Anyone have similar problems that :hover stop working?


Try switching to CSS3 PIE.

It's an actively maintained project that, amongst other things, provides border-radius for older versions of IE.

In my experience it supports :hover properly.

0

精彩评论

暂无评论...
验证码 换一张
取 消