<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>

                ## 盒模型 `margin(外邊距)`\- 清除邊框外的區域,外邊距是透明的。 `border(邊框)`\- 圍繞在內邊距和內容外的邊框。 `padding(內邊距)`\- 清除內容周圍的區域,內邊距是透明的。 `content(內容)`\- 盒子的內容,顯示文本和圖像。 ## W3C的標準盒模型 ![](https://box.kancloud.cn/0be399fd845fe0099a3e656d904c0552_746x455.jpg) > **在標準的盒子模型中,width指content部分的寬度** ## IE的盒模型 ![](https://box.kancloud.cn/779363b28b3b8819c483f39409575cc8_791x462.jpg) > **在IE盒子模型中,width表示content+padding+border這三個部分的寬度** ## css如何設置兩種模型 這里用到了CSS3 的屬性 box-sizing ~~~ /* 標準模型 */ box-sizing:content-box; /*IE模型*/ box-sizing:border-box; ~~~
                  <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>

                              哎呀哎呀视频在线观看