开发者

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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜