Created
February 29, 2016 09:52
-
-
Save desenmeng/0bf415bef5c861c2ad02 to your computer and use it in GitHub Desktop.
Vertically align text next to an image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- moved "vertical-align:middle" style from span to img --> | |
<div> | |
<img style="vertical-align:middle" src="https://placehold.it/60x60"> | |
<span style="">Works.</span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment