양식에 제출 단추가 있고 제출 단추로 배경 이미지를 설정하는 CSS 클래스를 사용합니다. 이 제출 버튼에 값을 주어야하지만, 사용자에게 표시되기를 원하지 않습니다. 내가 투명 CSS 색상 속성을 설정하면 내 파이어 폭스 3.6에서 잘 작동합니다. 그러나 값은 즉 6과 7에 표시됩니다. 어떻게이 문제를 해결할 수 있습니까?제출 버튼에서 값을 투명하게 만드는 방법은 무엇입니까?
<div id="upldTempForm" class="pgcontent">
<form>
<div style="text-align:center;">
<input type="submit" name="create" value="" class="save" />
<input type="button" name="cancel" value="" class="cancel"/>
</div>
</form>
</div>
css
.pgcontent {
background-color:#ECECEC;
border:2px solid #E7E7E7;
margin:30px auto;
width:820px;
font-size:12px;
}
.save{
background-image:url("../images/save.gif");
background-repeat:no-repeat;
width:100px;
height:40px;
cursor:pointer;
background-color:transparent;
border:none;
}
.cancel{
background-image:url("../images/cancel.gif");
background-repeat:no-repeat;
width:110px;
height:40px;
cursor:pointer;
background-color:transparent;
border:none;
}
왜' nkrkv