Vertical Aligned Text and Image in list
- by Wayne
Is there a way of vertical aligning text and an image in a list?
e.g.
<li>Some text here <img src="image.jpg" alt="" /></li>
The text doesn't align in the middle of the side of the image, it appears at the bottom then the image is next to it. I need the text to be in the center point between the image on the side.
What's the best way of doing it? I know having a image inside a list isn't valid HTML (AFAIK).
Thanks :)