Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Image inside div has extra space below the image | Better HN
Image inside div has extra space below the image
(opens in new tab)
(stackoverflow.com)
13 points
chefschef
6y ago
2 comments
Share
2 comments
default
newest
oldest
tmpfs
6y ago
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