div自动高
#leftMain {border:1px solid #630;float:left;width:30%}
#centerMain {border:1px solid #630;float:left;width:30%}
#rightMain {border:1px solid #630;float:left;width:30%}
</style>
<body onload="test();">
<div>
<div id="leftMain">test</div>
<div id="centerMain">test<br/>test<br/>test</div>
<div id="rightMain">test<br/>test</div>
</div>
</body>
<script language="javascript">
function test()
{
document.all.leftMain.style.height=document.all.centerMain.offsetHeight + "px";
document.all.rightMain.style.height=document.all.centerMain.offsetHeight + "px";
}
</script>
div自动高
DIV自动高度解决方法(ZT)
CSS强制图片自适应大小
fflippage组件使用(二)
到底要设计多宽的网页?
最常用的Flash语句(汇集)
button/input链接方式全攻略
TopStyle Pro 的使用技巧