We help IT Professionals succeed at work.

White space in figure / img

Colin Brazier
on
128 Views
Last Modified: 2017-04-06
Hi experts, hopefully this is simple but I can't find the answer.

Why is there white space at the bottom of the images here please?  http://www.col-b.uk/SLSO/

Don't worry about the rest of the layout, it's a development site!

Thanks.
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2017
Distinguished Expert 2019

Commented:
The reason is the containing figure seems to think there is content after the image.

You can make font-size on the <figure> 0
You can make the images display: block

Either solution will take the white space out
CERTIFIED EXPERT
Most Valuable Expert 2017
Distinguished Expert 2019
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks Julian, amazing how I forget from one project to another!
CERTIFIED EXPERT
Most Valuable Expert 2017
Distinguished Expert 2019

Commented:
amazing how I forget from one project to another!
Amazing how are able to remember what we do. That is why we have communities - extra eyes to help us see and remember :)
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.