1

Dynatree这里有一个列布局的例子。

我正在尝试相同的方法,但无法正常工作。任何人都可以为列提出更好的 CSS 计划吗?

我的 JSFIDDLE

//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)
4

1 回答 1

0

这对我有用

 #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>
于 2013-05-25T10:26:30.587 回答