關于div嵌套_html/css_WEB-ITnose
來源:懂視網
責編:小采
時間:2020-11-27 16:30:48
關于div嵌套_html/css_WEB-ITnose
關于div嵌套_html/css_WEB-ITnose:我用chrome查看, margin的上邊5px,怎么在外邊了? 不是應該包含在里邊的嗎,求解? .list_manager_top5_out{ width:100%; clear:both; height: 100px; background-color: #E4ECF5; } .
導讀關于div嵌套_html/css_WEB-ITnose:我用chrome查看, margin的上邊5px,怎么在外邊了? 不是應該包含在里邊的嗎,求解? .list_manager_top5_out{ width:100%; clear:both; height: 100px; background-color: #E4ECF5; } .

我用chrome查看, margin的上邊5px,怎么在外邊了?
不是應該包含在里邊的嗎,求解?
.list_manager_top5_out{ width:100%; clear:both; height: 100px; background-color: #E4ECF5; } .list_manager_top5_in{ padding:5px 0 0 25px; margin:5px; clear:both; border:1px solid black; }
回復討論(解決方案)
這有啥奇怪的,各種瀏覽器內核不同,各自有各自的對樣式的處理。
谷歌和火狐還是比較喜歡,最蛋疼的是坑爹的IE,平生最討厭IE的舊版本,各種奇形八怪兼容性問題.
聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com
關于div嵌套_html/css_WEB-ITnose
關于div嵌套_html/css_WEB-ITnose:我用chrome查看, margin的上邊5px,怎么在外邊了? 不是應該包含在里邊的嗎,求解? .list_manager_top5_out{ width:100%; clear:both; height: 100px; background-color: #E4ECF5; } .