ie9边界半径 [英] ie9 border radius

查看:74
本文介绍了ie9边界半径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下工具在Firefox,Chrome和Safari。但不是在IE9。它应用圆角到td的左上角和右上角。

I have the following which works in Firefox, Chrome and Safari. But not in IE9. It's applying rounded corners to the top left and right of a td. What am I missing?

border-left: solid 1px #444f82;
border-right:solid 1px #444f82;
border-top:solid 1px #444f82;
border-top-right-radius: 7px;
border-top-left-radius: 7px;
-moz-border-radius-topright: 7px;
-webkit-border-top-right-radius: 7px;
-khtml-border-radius-topright: 7px;
-moz-border-radius-topleft: 7px;
-webkit-border-top-left-radius: 7px;
-khtml-border-radius-topleft: 7px;
behavior: url(/survey_templates/PIE.htc);


推荐答案

(在< html> 标记上方)

<!DOCTYPE html>

IE9需要此网站才能显示新的HTML5 / CSS3项目

IE9 requires this for the website to display the new HTML5 / CSS3 things

编辑:或许多其他Doctype(XHTML等,但这是最短的,最容易记住的)

Or many other Doctype's (XHTML etc, but this is the shortest and easiest to remember)

这篇关于ie9边界半径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆