Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The method to eliminate the gap underneath images in CSS/HTML is to add "display: block;" to the image's CSS. This will remove any default margin or padding that may be causing the gap.

Example CSS code:

img { display: block; }