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自动高
用white-space:nowrap;解决中文标签标签换行问题
到底要设计多宽的网页?
fflippage组件使用(二)
javascript赋值div
符合web标准的flash调用方法
CSS强制图片自适应大小
FFlipPage组件的运用