Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Image inside div has extra space below the image | Better HN
Image inside div has extra space below the image
(stackoverflow.com)
13 points · by
chefschef
· 7y ago · 2 comments
Comments
[–]
tmpfs
7y ago
This is due to the image being inline by default, just needs inline-block. There are other hacks too.
[–]
chefschef
OP
7y ago
Yeah - I just found it surprising =)