How to make a submit button display as a link?

后端 未结 8 850
春和景丽
春和景丽 2020-12-03 06:51

This is not working in IE:

.text-button { background: transparent; 
               text-decoration: none; 
               cursor: pointer; }





        
8条回答
  •  天命终不由人
    2020-12-03 07:20

    You can't do that to the button, since things like input elements are elements of the client browser and machine, not your CSS code.

    You should use an tag that links to a javascript snippet which then submits the form for you.

提交回复
热议问题