图像下方的不需要的保证金 [英] Unwanted Margin Below Image
本文介绍了图像下方的不需要的保证金的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个图像和一个div,我想放置在它下面。 (这里是小提琴。 http://jsfiddle.net/d3Mne/1/ )
I have an image and a div I want to place below it. (Here's the fiddle. http://jsfiddle.net/d3Mne/1/)
问题是两者之间有一个余量。此底部边距仅与图像一起显示。有没有办法删除它?
The problem is that there is a margin between the two. This bottom margin is only present with images. Is there any way to remove it?
推荐答案
设置 display:block;
图片上:)
这篇关于图像下方的不需要的保证金的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文