Html 如何使正确的表格优先于顶部表格?
如何使正确的表格优先于顶部表格 我想把右边的桌子(粉红色的那张)一直放到网页的顶部。我想把最上面的黄色桌子放在屏幕右侧粉红色桌子开始的地方?链接到我正在谈论的内容: 下面是我使用的代码:Html 如何使正确的表格优先于顶部表格?,html,css,Html,Css,如何使正确的表格优先于顶部表格 我想把右边的桌子(粉红色的那张)一直放到网页的顶部。我想把最上面的黄色桌子放在屏幕右侧粉红色桌子开始的地方?链接到我正在谈论的内容: 下面是我使用的代码: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> </head
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="100%" bgcolor="#C0C0C0" style="position: absolute; left: 0; bottom: 0">
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0" style="position: absolute; bottom: 0" bgcolor="#00FF00" height="23" bordercolor="#FFFFFF">
<!-- MSTableType="nolayout" -->
<tr>
<td> </td>
</tr>
</table>
<div align="right" style="height: 100%;">
<table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#FFFF00" height="105">
<tr>
<td> </td>
</tr>
</table>
<table border="0" width="200" align="right" cellspacing="0" cellpadding="0" bgcolor="#FF00FF" height="100%">
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</div>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </td>
</tr>
</table>
</body>
</html>
新的第1页
根据您必须显示的内容,您应该只使用div而不是表。它们更容易在您的页面上发送,使它们可以浏览其他元素等
如果您仍然想使用表(sic),那么在您目前的情况下,您应该只使用一个表