how to vertically align text next to a floated image?

前端 未结 6 1926
谎友^
谎友^ 2020-12-31 02:09

I want to vertically align a span after a floated image. I searched for it in stack overflow and find this post. but my image is floated.

<
6条回答
  •  抹茶落季
    2020-12-31 02:44

    First remove float from it. Write like this:

    
        Doesn't work.
    

    Check this http://jsfiddle.net/ws3Uf/

提交回复
热议问题