html怎么定义submit按钮的背景图片

来源:互联网 发布:浏览器代理软件自动 编辑:程序博客网 时间:2024/06/06 04:58

<input type="submit" value=/ style="background:url('zc.jpg') no-repeat; width:180px; height:37px;">

如果有那/,按钮上也有/


<input type="submit" value= style="background:url('zc.jpg') no-repeat; width:180px; height:37px;">

如果没有/,就会变成


该怎么改才会不显示/就能出来




<input type="submit" value='' style="background:url('zc.jpg') no-repeat; width:180px; height:37px;"> 试试如上代码,你的value需要给一个空值:value=''

0 0
原创粉丝点击