数据分析师2017-09-30 22:58:59
Why is there a gap between the top and bottom of each piece? -PHP Chinese website Q&A-Why is there a gap between the top and bottom of each block? -PHP Chinese website Q&A
Please watch and learn.
迷茫2016-12-19 17:03:07
在html中,标签有自带的属性,块元素默认是有margin和padding的默认值,所以在编写页面时,需要通过css样式清除默认的padding和margin值!如div{margin:0; padding:0;}