为什么我的按钮没有图片
为什么我的按钮没有图片,我在CSS中设置了图片,(图片与此文件在同一目录下)
<style type= "text/css ">
a:visited{color:#00FF66;text-decoration:none;}
a:active{color:#00FF66;text-decoration:none;}
a:link{color:#00FF66;text-decoration:none;}
a:hover{color:#00FF33;;text-decoration:underline;}
.ButtonCSS {
font-family: "Tahoma ", "宋体 ";
font-size:9pt;
color: 006699;
border: 1px #003399 solid;
color:006699;
BORDER-BOTTOM: #93bee2 1px solid;
BORDER-LEFT: #93bee2 1px solid;
BORDER-RIGHT: #93bee2 1px solid;
BORDER-TOP: #93bee2 1px solid;
background-color: #e8f4ff;
CURSOR: hand;
font-style: normal;
width:60px;
height:22px;
background-image: url(A.gif);
}
</style>
<input name= "Submit " type= "button " class= "ButtonCSS " value= "按钮 " />
------解决方案-------------------- <input type= "image " src= "a.gif " class= "buttonClass ">
修改一下buttonClass的内容