块元素包裹img空隙问题 解决方法 1.img设为block2.img对齐方式vertical-align:bottom(middle/top),不是baseline就行3.父容器font-size:0或line-height:04.绝对定位和top:0