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自动高
@import的写法一般有下列几种
6 个重要的算法是什么?
用loadMovie调用外部*.swf文件
用mySound.loadSound调用外部声音文件,加载到场景中
DIV+CSS排版中新闻列表的制作方法
SPAN和DIV的区别
用loadMovie调用外部图片,加载到影片剪辑中