How can I make my <input type=“submit” /> an image?

前端 未结 6 1662
不知归路
不知归路 2021-02-02 11:07

I have a beautiful little CSS image that needs to be a button. I\'ve tried about 20 different methods, none of which work. I just either get a blank nothing or a border with no

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-02 11:50

    Use an image submit button, as the doc says:

    defines an image as a submit button

    
    

    (I would not use an image suggesting snailmail when setting up an online form, but maybe there is some reason to create such associations.)

提交回复
热议问题