我应该建一个 6 列的表,我做不到,当我建了 2 个 3 列的表但我不能并排放置它们时,我是一个在另一个之下。我能怎么做?
样式:
<style>
/*Set 3.colum grid*/
.ui-grid-b .grid1{
width=50%;
align="left";
}
.ui-grid-b .grid2{
width=50%
align="rigth";
}
</style>
编码:
<div class="ui-grid-b" id="grid1">
<div class="ui-block-a"><div class="ui-bar ui-bar-e" style="height:120px">A</div></div>
<div class="ui-block-b"><div class="ui-bar ui-bar-e" style="height:120px">B</div></div>
<div class="ui-block-c"><div class="ui-bar ui-bar-e" style="height:120px">C</div></div>
<div class="ui-block-a"><div class="ui-bar ui-bar-e" style="height:120px">A</div></div>
<div class="ui-block-b"><div class="ui-bar ui-bar-e" style="height:120px">B</div></div>
<div class="ui-block-c"><div class="ui-bar ui-bar-e" style="height:120px">C</div></div>
</div><!-- /grid-b -->
<div class="ui-grid-b" id="grid2">
<div class="ui-block-a"><div class="ui-bar ui-bar-e" style="height:120px">A</div></div>
<div class="ui-block-b"><div class="ui-bar ui-bar-e" style="height:120px">B</div></div>
<div class="ui-block-c"><div class="ui-bar ui-bar-e" style="height:120px">C</div></div>
<div class="ui-block-a"><div class="ui-bar ui-bar-e" style="height:120px">A</div></div>
<div class="ui-block-b"><div class="ui-bar ui-bar-e" style="height:120px">B</div></div>
<div class="ui-block-c"><div class="ui-bar ui-bar-e" style="height:120px">C</div></div>
</div><!-- /grid-b -->
</div>