Get rid of that small space under your images

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerUI6 min

About this video

A short CSS tutorial that explains why a small gap appears under images on web pages and shows how to remove it. It suits people who are writing HTML and CSS.

What you’ll learn

  • Identify why extra space appears below inline images
  • Remove the gap under images using a simple CSS change