我用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的旧版本,各种奇形八怪兼容性问题.