下面的代码应该显示包含单元格边框的表格,但它不会显示边框。任何想法为什么?表格不显示边框
<head>
<meta http-equiv=“content-type” content=“text/html; charset=ISO-8859-1” />
<style type=“text/css”>
td, th {border: 1px solid black;}
</style>
<title>Testing Tony’s Travels</title>
</head>
<body>
<table>
<tr>
<th>City</th>
<th>Date</th>
<th>Temperature</th>
<th>Altitude</th>
<th>Population</th>
<th>Diner Rating</th>
</tr>
<tr>
<td>Walla Walla, WA</td>
<td>June 15th</td>
<td>75</td>
<td>1,204 ft</td>
<td>29,686</td>
<td>4/5</td>
</tr>
<tr>
<td>Magic City, ID</td>
<td>June 25th</td>
<td>74</td>
<td>5,312 ft</td>
<td>50</td>
<td>3/5</td>
</tr>
</table>
</body>
</html>
我已经替换了引号,它现在可以运行 - 耶。谢谢大家 – SourceC 2009-09-18 20:41:19
请注意,截至2013年2月15日,doctype.com已关闭。[详细了解它](http://blog.doctype.com/doctype_is_closing_on_the_14th_1)。 – Krease 2014-02-18 05:20:25
删除了对doctype.com的引用。谢谢 – 2014-02-18 18:47:20