码迷,mamicode.com
首页 > Web开发 > 详细

html中table并排展示

时间:2018-10-15 12:10:40      阅读:254      评论:0      收藏:0      [点我收藏+]

标签:htm   show   lin   bsp   splay   table   dal   其他   style   

解决方式一:将所有需要并排的table放入一个大的table中

<div class="modal-body" style="width: 100%">
                <table>

                    <tr>
                        <td>
                            <!--<div style="width: 50%;" id="showBaseResponse">-->
                            <table width="50%"   border=1   style="display:inline" class="table-bordered" id="ESCompare" >
                                <tbody></tbody>
                            </table>
                            <!--</div>-->
                        </td>
                        <td>
                            <!--<div style="width: 50%;" id="showDiffResponse">-->
                            <table width="50%"   border=1   style="display:inline" class="table-bordered" id="TestCompare">
                                <tbody></tbody>
                            </table>
                            <!-- </div>-->
                        </td>
                    </tr>


                </table>


            </div>

其他解决方式:放入div中,偏移div,有道友知道可以贴出~   后续完成小程序之后,再解决吧!

html中table并排展示

标签:htm   show   lin   bsp   splay   table   dal   其他   style   

原文地址:https://www.cnblogs.com/CherishZeng/p/9789181.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!