ie9边框半径

我有以下在Firefox,Chrome和Safari中可用的工具。但不是在IE9中。它在td的左上和右上应用圆角。我想念什么?


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);


FFIVE
浏览 543回答 3
3回答

森栏

您是否已将其放在HTML文档的顶部(在<html>标记上方)<!DOCTYPE html>IE9要求网站显示新的HTML5 / CSS3内容编辑:或其他许多Doctype(XHTML等,但这是最短和最容易记住的)

繁花如伊

据我所知,边界半径应该适用于IE9。您可能在页面标题中缺少此内容:<meta http-equiv="X-UA-Compatible" content="IE=edge" />“ edge”表示“使用最新的渲染引擎”,因此IE 9将使用9,10使用10,依此类推。

HUH函数

在页面标题中添加<!DOCTYPE html>和<meta http-equiv="X-UA-Compatible" content="IE=edge" />,它已经解决了我的问题。如果border-radius在IE9中不起作用,则必须在页面标题中同时添加<!DOCTYPE html>和<meta http-equiv="X-UA-Compatible" content="IE=edge" />。请记住,如果<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">&nbsp;页面顶部的边框半径可能尚未出现在IE9中,那么最好将其更改为<!DOCTYPE html>
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Html5
CSS3