그래서 제출 버튼의 스타일을 지정하려고합니다. 배경은 투명한 png 스프라이트 파일에서 가져옵니다. 버튼을 모두 눌러 말하면 버튼이 흰색 상자로 나타나고 스프라이트 이미지가로드되지 않습니다. 투명이 :. 때 배경에서 제거 "경우양식 제출 버튼 @ 투명한 CSS 스프라이트
<input name="Submit" type="submit" value="" class="lp-submit"/>
CSS
.lp-submit {
vertical-align:middle;
width:106px;
height:47px;
background:transparent url(images/bt_sprite.png) no-repeat 0 0;
border:none;
cursor:pointer;
}
.lp-submit:hover {
background:transparent url(images/bt-sprite.png) no-repeat 0 25;
}
이미지가 나타난다는 자사의 흰색 상자에 다시 넣어.
경로에 이중 슬래시가 무엇입니까? –