HTML Input (type=image) not working on Firefox 4

2019-01-20 19:30发布

<input  type="image"value="Delete" title="Delete" name="cmd_delete" src="bin/images/common/delete.png"/>

The above HTML code is for a Delete button in my application. The problem is that this button does not work in Firefox 4 but works in other browsers. Please how can I fix this.

标签: html input
7条回答
姐就是有狂的资本
2楼-- · 2019-01-20 20:10

Following works in IE, FF (and IE6, BalusC!):

<input type="submit" value="" style="background-image: url('bin/images/common/delete.png');width:262px;height:37px;border:0;cursor: pointer;" />
查看更多
登录 后发表回答