css - 使用 ie-css3.htc 时悬停停止为元素工作

标签 css

.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-border-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; 
}

我正在使用这个 IE7 hack 来处理圆 Angular :http://code.google.com/p/box-shadow/downloads/detail?name=ie-css3.htc&can=2&q=

但是当我使用这个 htc 文件时,悬停停止工作。任何人都有类似的问题:悬停停止工作?

最佳答案

尝试切换到 CSS3 PIE .

这是一个积极维护的元素,amongst other things , 为旧版本的 IE 提供 border-radius

In my experience it supports :hover properly.

关于css - 使用 ie-css3.htc 时悬停停止为元素工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6280462/

相关文章:

javascript - Golang 和 HTML5/CSS/JavaScript(ANDROID 应用程序)

CSS 水平对齐 float

html - 带有 CSS 的流体 div

JavaScript 突然出乎意料

javascript - 纯 JS 自动幻灯片

javascript - 使用JQuery弹出框

javascript - 如何使用 ionicons 将搜索图标图像放在搜索框中?

javascript - 清除并附加 html 后单击不起作用

javascript - 如何使用 JQuery 从按钮单击中获取 Extreme DIV 的 ID、名称和类?

javascript - Owl Carousel 幻灯片中的元素在 css 动画发生之前显示