我想在响应表中并排显示div。
这是我的HTML:
<div>
<table>
<tr>
<td class="td-prio" style="width: 100px; height: 100px;">
<div class="panel panel-default" id="E3kRzMgJDPbcBeWwY" style="border-style: solid; cursor: move;">
<div class="panel-heading">
Test1
</div>
<div class="panel-body">
Test 1 Body
</div>
</div>
<div class="panel panel-default" id="ASDdsgADogiesbfd" style="border-style: solid; cursor: move;">
<div class="panel-heading">
Test2
</div>
<div class="panel-body">
Test 2 Body
</div>
</div>
<div class="panel panel-default" id="ifsdfuHKJFSas4t" style="border-style: solid; cursor: move;">
<div class="panel-heading">
Test3
</div>
<div class="panel-body">
Test 3 Body
</div>
</div>
</td>
</tr>
</table>
</div>
目前它看起来像这样:
这是理想的结果:
或者如果表格宽度较小:
非常感谢任何帮助。
答案 0 :(得分:1)
答案 1 :(得分:1)