Dynatree有一个列布局的例子here .
我正在尝试同样的方法,但无法正常工作。 谁能为列建议更好的 css 计划?
//output sample after proper clomun layout
// Motors Parts(12253) STOCK(12) Collection(5)
// BIKES Parts(12253) STOCK(12) Collection(5)
// BICYCLES Parts(12253) STOCK(12) Collection(5)
最佳答案
这对我有用
#table {display: table;}
.row {display: table-row;}
.cell {display: table-cell;width:100px;}
<div id="table">
<div class="row">
<span class="cell">Parts(12253)</span>
<span class="cell">STOCK(12)</span>v
<span class="cell">Collection(5)</span>
</div>
</div>
关于css - dynatree 列布局 css 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16748134/