Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Image inside div has extra space below the image
(opens in new tab)
(stackoverflow.com)
13 points
chefschef
6y ago
2 comments
Save
Share
2 comments
2 comments · 1 top-level
top
newest
oldest
tmpfs
6y ago
· 1 in thread
This is due to the image being inline by default, just needs inline-block. There are other hacks too.
chefschef
OP
6y ago
Yeah - I just found it surprising =)
j
/
k
navigate · click thread line to collapse