제출 버튼을 변경하려고했지만 완전히 작동하지 않습니다. CSS에서CSS 제출 양식이 올바르지 않습니다.
내가 잘 작동하는 내 버튼이 있습니다
.button {
float: left;
clear: both;
display: block;
width: 150px;
padding: 4px 0 5px 0;
text-align: center;
background: url(images/button_01.jpg) no-repeat;
color: #000000;
font-size: 14px;
font-weight: bold;
text-decoration: none;
}
을 그리고 내가 제출 유형을 생성 (분명히 코드는 동일) : 지금
input[type="submit"]{
float: left;
clear: both;
display: block;
width: 150px;
padding: 4px 0 5px 0;
text-align: center;
background: url(images/button_01.jpg) no-repeat;
color: #000000;
font-size: 14px;
font-weight: bold;
text-decoration: none;
}
내가 HTML을 생성하는 경우 페이지 :
<div class="button"> <a> Check Availability</a></div>
<input type="submit" value="Send"/>
<input type="submit" value="Submit" class="button" />
<div class="button"> <a> whats up</a></div>
어필성에 많은 차이가 있습니다. 모든 버튼은 첫 번째 버튼과 네 번째 버튼처럼 보일 것입니다. 제출 버튼에이 테두리가있는 이유를 모르겠습니다. 서로 다른 보이는 이유입니다 Screenshot
Any ideas guys how can i fix it ?
단지 테두리를 지우고 싶다면 간단히'border : 0;'... – Digzol