我试图使用 border-radius.htc ( http://www.htmlremix.com/css/curved-corner-border-radius-cross-browser ) 方法在 IE pn 以下网站中获得圆 Angular ,但它似乎不起作用。
当您将鼠标悬停在菜单上时,2 级子菜单应该有圆 Angular ,但事实并非如此 (IE8)。
在 HTML 源代码中搜索 .rounded-corners 以查看它的应用位置以及应该显示但没有显示的位置。
有人可以帮忙吗?
http://berrisford.gumpshen.com
.ie6 .rounded-corners, .ie7 .rounded-corners, .ie8 .rounded-corners, .ie9 .rounded-corners {
behavior: url(border-radius.htc);
}
最佳答案
你不能只使用:
.ie6 .rounded-corners, .ie7 .rounded-corners, .ie8 .rounded-corners, .ie9 .rounded-corners {
behavior: url(border-radius.htc);
border-radius: 4px; /* example */
}
它还确保它也尝试使用 CSS 方法来解决问题。
关于javascript - 圆 Angular 在 IE 中不起作用(.rounded-corners),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6797536/