Space above text that is next to a image

前端 未结 4 517
轻奢々
轻奢々 2021-01-24 18:05

\"image\"As you can see. I have space above header 3, I want it to be inline with the image itself.

HTML



        
4条回答
  •  醉梦人生
    2021-01-24 19:03

    The h3 has a margin by default. Just add margin-top:0; to the h3 and there you go:

    http://jsfiddle.net/rhUb7/

提交回复
热议问题