【发布时间】:2010-09-29 14:10:04
【问题描述】:
如何让右表优先于顶层表?
我希望右边的表格(粉红色的那个)一直到网页的顶部。我希望顶部的黄色表格在屏幕右侧开始的粉红色表格结束?链接到我在说什么:
http://wpiix10.x10.mx/ifoot11.htm
这是我正在使用的代码:
<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>
【问题讨论】: