我在 html 中创建一个表格,两列之间的线条边界完全向上和向下延伸。我怎样才能改变它,使它不接触桌子的顶部或底部?
<title>Home Styles</title>
<meta http-equiv="content-type"
content="text/html; charset=iso-8859-1" />
<style type="text/css">
p {font-size:small; margin-left: .2in }
}
</style>
</head>
<h1>Central Valley Construction</h1>
<h2>Home Styles</h2>
<table border="1" frame="hsides" width="1170px">
<tr>
<td valign="top"
style="border-right: 1px black solid; padding- top:70px"align="center">
<a href="Chalet.html">Chalet</a><br />
<a href="ContemporaryRanch.html">Contemporary Ranch</a><br />
<a href="Cottage.html">Country Cottage</a>
</td>
<td align="center" style="padding-top:40px">
<img src="chalet.jpg" alt="Image of a chalet" height="113" width="200" />
<p><strong>Style</strong>: chalet</p>
<p><strong>Square feet</strong>: 1305<br/>
<strong>Bedrooms</strong>: 3<br />
<strong>Baths</strong>: 2</p>
</td>
</tr>
</table>
</body>