標準盒模型和IE盒模型(也叫怪異盒模型)

1.標準盒模型 標準盒模型(W3C盒子模型),設置的width或height是對 實際內容(content)的width或height進行設置,內容周圍的border和padding另外設置,即盒子模型的width(height)=設置的content的寬高+padding+border+margin 注:除內容content外,其他爲上下左右都有 2.怪異盒模型 怪異盒模型(IE盒子模型),設置
相關文章
相關標籤/搜索