zoukankan      html  css  js  c++  java
  • html中table并排展示

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

    <div class="modal-body" style=" 100%">
                    <table>
    
                        <tr>
                            <td>
                                <!--<div style=" 50%;" id="showBaseResponse">-->
                                <table width="50%"   border=1   style="display:inline" class="table-bordered" id="ESCompare" >
                                    <tbody></tbody>
                                </table>
                                <!--</div>-->
                            </td>
                            <td>
                                <!--<div style=" 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,有道友知道可以贴出~   后续完成小程序之后,再解决吧!

  • 相关阅读:
    读《大道至简》第一章有感
    jdk和jre的区别
    题解 LA2911
    题解 UVa11461
    题解 UVa10791
    题解 UVa11489
    题解 LA2889
    题解 UVa11609
    题解 UVa11076
    题解 UVa11752
  • 原文地址:https://www.cnblogs.com/CherishZeng/p/9789181.html
Copyright © 2011-2022 走看看