我正在尝试使用 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>