How to put a jpg or png image into a button in HTML

后端 未结 8 2255
面向向阳花
面向向阳花 2020-12-09 16:57

I want a button with an image in it. I am using this:

 

But it do

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-09 17:29

    You can use some inline CSS like this

    
    

    Should do the magic, also you may wanna do a border:none; to get rid of the standard borders.

提交回复
热议问题