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

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

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

 

But it do

8条回答
  •  佛祖请我去吃肉
    2020-12-09 17:39

    you can also try something like this as well

    
    

    and CSS class

    .fwm_button {
       color: white;
       font-weight: bold;
       background-color: #6699cc;
       border: 2px outset;
       border-top-color: #aaccff;
       border-left-color: #aaccff;
       border-right-color: #003366;
       border-bottom-color: #003366;
     }
    

    An example is given here

提交回复
热议问题