<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                后臺管理系統中主要以表格為主,表格溢出問題是很常見的,為了不影響代碼結構有能輕松解決表格溢出問題,可以使用 `table_fixed` 方法: ``` /** * 表格無限寬橫向溢出 * @param selector * @param width 不賦值默認為th的width值和 */ function table_fixed(selector,width) { $obj = $(selector); //未設置寬度自動獲取width屬性的寬 if (typeof width === "undefined"){ width = 0; $obj.find("tr:first th").each(function () { width += parseInt($(this).attr("width") || $(this).innerWidth()); }) } $obj.css({"width":width+"px","table-layout":"fixed"}); $obj.wrap('<div style="width:100%;overflow:auto"></div>'); } ``` 使用方法如下: ``` table_fixed('.table'); //使用寬度自動識別,首先識別表格中th的width值,然后識別真實寬度 table_fixed('.table',2000);//直接將表格設置為2000,讓表格溢出 ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看