How can vertically center a chunk of line-wrapping text next to an image?
I have some legacy table code here. I'd like to rewrite that in a way that uses good ol' CSS, but am having trouble.
Also, using a background-image开发者_如何学运维
instead of the img
is not an option, as there will be many different images.
Here's my attempt, but I can't get the darn thing to stay inline with the image and remain vertically centered.
How would I do this?
Oh wait, solved it:
http://www.jsfiddle.net/Eric/fRaU7/14/
精彩评论