<div class=”padding-10p width-100 goodDetail ng-binding” ng-bind-html=”product.content”><img src=”http://7xj380.com1.z0.glb.clouddn.com/2015-07-01_559343018a484.jpg” width=”100%”><img src=”http://7xj380.com1.z0.glb.clouddn.com/2015-07-01_55934301e1e14.jpg” width=”100%”><img src=”http://7xj380.com1.z0.glb.clouddn.com/2015-07-01_559343033d547.jpg” width=”100%”><img src=”http://7xj380.com1.z0.glb.clouddn.com/2015-07-01_5593430440bf8.jpg” width=”100%”><img src=”http://7xj380.com1.z0.glb.clouddn.com/2015-07-01_55934305a730b.jpg” width=”100%”><img src=”http://7xj380.com1.z0.glb.clouddn.com/2015-07-01_55934306b239d.jpg” width=”100%”><img src=”http://7xj380.com1.z0.glb.clouddn.com/2015-07-01_55934307f294f.jpg” width=”100%”><img src=”http://7xj380.com1.z0.glb.clouddn.com/2015-07-01_55934308d3b90.jpg” width=”100%”><img src=”http://7xj380.com1.z0.glb.clouddn.com/2015-07-01_55934309d7242.jpg” width=”100%”><img src=”http://7xj380.com1.z0.glb.clouddn.com/2015-07-01_5593430b32974.jpg” width=”100%”></div>
以上图片上下存在缝隙,可利用 :
style="vertical-align : bottom" 使得图片上下的边距去除。
或者
<style type="text/css"> img { outline-width:0px; vertical-align:top; } </style>
转载请注明:苏demo的别样人生 » CSS 去除图片上下的间距或者间隙