<div style="OVERFLOW-X:auto;OVERFLOW-Y:auto;Width:100%;Height:100%">
老大你的高和宽都用的100%呀,你改成像素就有了嘛:
<div style="OVERFLOW-X:auto;OVERFLOW-Y:auto;Width:200;Height:200">
老大你的高和宽都用的100%呀,你改成像素就有了嘛:
<div style="OVERFLOW-X:auto;OVERFLOW-Y:auto;Width:200;Height:200">
但可不可以不用把宽和高设固定值,难道不能根据 div 所属的table 的大小自动调整吗
你输入了一串字母会被编译为一个单位,当然不会换行,
这样就行了表格的高度设为100%时,会随着里面的东西增加而增加的
<html>
<body scroll=no >
<table width="100%" height="100%" cellpadding=0 cellspacing=0>
<tr>
<td>
<div style="OVERFLOW-X:auto;OVERFLOW-Y:auto;Width:100%;Height:100%">
<table width="100%" height="100%" cellpadding=0 cellspacing=0>
<tr>
<td>feeeeeeeeeeeeeeeeeeeeeeeeeeeeee
<br>eeeeeeeeeeeeeeeeeeeeeee
<br>eeeeeeeeeeeeeeeeeeeeeeeeee
<br>eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br>eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee<br>
eeeeeeeeeeeefffffffffffffffffffffffffffffffffff<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>dddddddddddd
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>