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自动高
图片在窗口中上下左右垂直居中代码
6 个重要的算法是什么?
用loadMovieNum()函数调用所有外部文件
Levels of CSS Knowledge - 你是哪个等级的CSS开发人员
@import的写法一般有下列几种
用JS的方法使用列表LI制作的隔行换色