0
input
은 #submitKeyword
과 어떻게 맞습니까?입력과 다른 div가있는 div가
HTML :
<div class="searchKeywords">
<input id="inputKeyword" type="text" name="keywords" placeholder="What are you looking for?">
<div id="submitKeyword"></div>
</div>
CSS :
.searchKeywords {
height: 100%;
width: 100%;
margin-top: 70px;
text-align: center;
}
.searchKeywords #inputKeyword {
display: inline-block;
height: 45px;
width: 150px;
border: 2px solid;
}
.searchKeywords #submitKeyword {
display: inline-block;
width: 115px;
height: 45px;
border: 1px solid #000;
background-image: url('/www/assets/newImages/gallery/Lupa.png');
background-repeat: no-repeat;
background-position: center;
}
좋아하지만'input' 못해 #의 submitKeyword' 입력 필드 높이의 높이 변화 – user3629180
'와 같은 높이 인 것이 방법 : 41px 단계; 입력 필드의 상단 및 하단에서 기본 1px 패딩이 있습니다. 이 링크를 사용해보십시오 http://jsfiddle.net/amoljawale/B45P5/13/ – amol
감사합니다! 그게 다야. – user3629180