<body onscroll="x.style.left=document.body.scrollLeft" onload="x.style.left=document.body.scrollLeft">
<table width=100% border id=x style="position:absolute">
<tr><td>ddddddddddd</td></tr></table>
<table width=200% id=dd>
<tr><td>ddd</td></tr></table>
<table width=100% border id=x style="position:absolute">
<tr><td>ddddddddddd</td></tr></table>
<table width=200% id=dd>
<tr><td>ddd</td></tr></table>
<body onscroll="x.style.pixelLeft=document.body.scrollLeft" onload="x.style.left=document.body.scrollLeft">
<table width=100% border id=x style="position:relative">
<tr><td>ddddddddddd</td></tr></table>
<table width=200% border>
<tr><td>ddd</td></tr></table>你的这个问题用途很广嘛
一个width=100%
一个是width=200%
还有是width=100%
第一和第三个不动,怎么办?
再加20分
<table width=100% border id=x style="position:relative">
<tr><td>ddddddddddd</td></tr></table>
<table width=200% border>
<tr><td>ddd</td></tr></table>
<table width=100% border id=x style="position:relative">
<tr><td>ddddddddddd</td></tr></table>