Home > Web Front-end > HTML Tutorial > The gap between images and containers in IE6_html/css_WEB-ITnose

The gap between images and containers in IE6_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-24 12:12:27
Original
1261 people have browsed it


Why is there always a gap between the bottom edge of the picture and the bottom edge of the div after placing an image in a div in IE6? How to eliminate this gap? Tried setting margin and padding to no avail.


Reply to discussion (solution)

Try setting the border of the image to 0

Try setting the border of the image to 0 Trying
doesn’t work, but I found a way. Just set the display of img to block.

This is a historical question, take a look at this article: http://www.wheattime.com/images-tables-and-mysterious-gaps.html

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template