thehung1724 — 2013-10-16T12:16:11-04:00 — #1
I don't understand why white space after my image is removed when i add a vertical:middle style. Can anyone explain this to me?
Here is my code:
paulob — 2013-10-16T14:48:30-04:00 — #2
Images are placed by default on the baseline not the bottom (just as text is) which leaves room underneath for descenders and so that the bottom of the image is at the bottom of the text (bar the descender). When you change the vertical-alignment to middle then it is no longer on the baseline and the gap underneath disappears.