假如有
<ol>
<li>.....</li><li>.....</li><li>.....</li><li>.....</li><li>.....</li>
<li>.....</li><li>.....</li><li>.....</li>..........
</ol>
我想实现固定高度,第一列是前面五个序号是1,2,3,4,5。然后超过高度后到第二列排序第二列的序号是6,7,8,9,10以此类推。用ul li: float left实现的是横向排序,明白我的意思吗?
javascript - css or jQuery to implement vertical sorting and horizontal scrolling in ol li - PHP Chinese website Q&A - javascript - css or jQuery to implement vertical sorting and horizontal scrolling in ol li - PHP Chinese website Q&A
Come and watch and learn.
就这样吧 虽然觉得不太简洁