0
我想製作視差滾動效果。我用下面的方法,但加分的DIV時,它將自動換行:如何在DIV上設置nowrap?特別包含許多分DIV
<div style="height: 300px; width: 100%; overflow-x: auto; overflow-y: hidden;border:solid 1px ;">
<div id="layoutArea" style="width: 9999px;background-color:White; padding:10px 10px 15px 10px;border:solid 0px ;">
<div id = "sub1"></div>
<div id = "sub2"></div>
<div id = "sub3"></div>
<div id = "sub4"></div>
<div id = "sub5"></div>
<div id = "sub6"></div>
.......
</div>
</div>
我以前嘗試。但它不能工作。 – 2011-12-15 10:05:25