标记:浏览器设置了多少高度?
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<table width="500" border="0">
<tr>
<td colspan="2" style="background-color:#FFA500;">
<h1>Main Title of Web Page</h1>
</td>
</tr>
<tr>
<td style="background-color:#FFD700;width:100px;"> <b>Menu</b>
<br>HTML
<br>CSS
<br>JavaScript</td>
<td style="background-color:#eeeeee;height:200px;width:400px;">Content goes here</td>
</tr>
<tr>
<td colspan="2" style="background-color:#FFA500;text-align:center;">Copyright ? W3Schools.com</td>
</tr>
</table>
</body>
</html>
在HTML中,有没有关于顶线和底线的高度定义。浏览器设置了多少高度?因为每个浏览器将用自己的方式表
不要使用表格进行布局。 – bjb568
按'F12'打开开发人员工具,然后选择'计算'选项卡。选择任何元素,它会显示计算出来的尺寸。 – Abhitalks
如果HTML是在Firefox中,我怎么能看到这样的事情在铬? –