<html>
<body leftMargin="0" topMargin="0">
<table width="100%" height="100%" cellSpacing="0" cellPadding="0" border="0">
<tr width="100%" height="100%">
<td width="100%" nowrap bgcolor=red></td>
<td width=760 bgcolor=blue>

</td>
<td width="100%" nowrap bgcolor=yellow></td>
</tr>
</table>
<body>
</html>

解决方案 »

  1.   

    <body leftMargin="0" topMargin="0">
    <table width="100%" height="100%" cellSpacing="0" cellPadding="0" border="0">
    <tr>
    <td width="50%"  bgcolor="#FFCC00"></td>
    <td width="760" nowrap bgcolor="#66CCFF"></td>
    <td width="50%"  bgcolor="#FFFF00"></td>
    </tr>
    </table>看你的颜色,看的我眼花!
      

  2.   

    ........
    ls的设计不合理啊
    100%+760px+100% =200%+760px 〉〉100% 固定中间列宽是可以做到,但是两边td 平均分配剩余宽度是不可能实现的了。只能让其余地两列自适应宽度 auto 有多宽是多宽了。
    建议设计地时候最好明确目的了,如果是1024分辨率1000px宽,剩余地240px可以分作140px一栏,100px一栏,100px这栏可以用来悬挂广告。
    如果是800x600分辨率,那就只弄760的宽度了。其余的就不要了,用背景填充算了。想要布局不变形还是固定死宽度比较好了。
    不要说不好掌握,多测量几次就清楚了。自己图了个方便,电脑可不会按照你的想法去实现,而是根据你设计地代码去实现了。人工智能还没有那么高。