IE表格边框未在IE 10或FF 22中显示

时间:2013-08-01 15:15:06

标签: css html-table

我正在尝试使用CSS和Dream Weaver编辑表格边框,但边框未在IE 10或FF22中显示。我究竟做错了什么?

这是我的代码:

<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<style type="text/css">
table {
padding:15px;
border-color:red;
}
.cell {
border-bottom-color:#585858;
border-bottom-width:medium;
border-right-color:#787878;
border-right-width:thick;
border-top-color:#000;
border-top-width:thin;
border-left-color:#000;
border-left-width:thin;
background-color:#BFFFFF;
alignment-adjust:central;
}
</style>

</head>

<body>
<table>
<tr>
<td class="cell"><center>This is my test table</center></td>
<td><center>blah blah blah</center></td>
<td class="cell"><center>ya ya ya ya ya</center></td>
</tr>
</table>
</body>
</html>

0 个答案:

没有答案