hung-doan / .bookmarks

My life bookmarker
0 stars 0 forks source link

image inside a div has an extra space below the image #11

Closed hung-doan closed 8 years ago

hung-doan commented 8 years ago

There is space below that line for the descenders you find on letters like f, j, p and q.

http://stackoverflow.com/questions/5804256/why-an-image-inside-a-div-has-an-extra-space-below-the-image. Solution: set img to display: block;