버튼 내부에 전형이 아닌 이미지 배경을 사용합니다. 나는이 텍스트를 기본값보다 단추 내부에 "더 높게"보이게 만들 필요가있다. 내가 뭘해야되는거야?단추 안에 텍스트를 배치하는 방법은 무엇입니까?
CSS :
.button {
width: 211px;
height: 66px;
font-family: Arial, Helvetica, sans-serif;
font-size: 18px;
text-transform: uppercase;
color: white;
background: url('../img/button.png') no-repeat;
border: none;
cursor: pointer;
}
HTML : 브라우저에서
<input type="submit" class="button" value="Submit"/>
(...)
<button class="button">Get a quote</button>
화면 :
지금
입니다 당신은 버튼의 텍스트가 조금 더 높아야한다 볼 수 있듯이
코드를 게시하시기 바랍니다. – j08691