为什么下面的代码中 div 的高度大于 img 的高度?图像下方有一个间隙,但它似乎不是填充/边距。
图像下方的间隙或额外空间是多少?
#wrapper {
border: 1px solid red;
width:200px;
}
img {
width:200px;
}
<div id="wrapper"> <img src="http://i.imgur.com/RECDV24.jpg" /> </div>
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号