코딩일 떄에는 정상이던것이, 그누소스 넣으니 검색버튼이 엇갈려졌네요/
본문
위 쇼핑몰 우측에 검색 버튼과 입력폼이 서로 엇갈린 상태인데...그누 소스를 넣으리 저렇게 되네요.
소스를 안넣을 땐 정상이던것이...
해결할려고 잘 안되어서 문의드립니다.ㅠㅠ
답변 2
input type="image" 에 align="absmiddle"를 넣으세요.
<form name="frmsearch1" action="http://gb05.wixweb.co.kr/shop/search.php" onsubmit="return search_submit(this);">
<label for="sch_str" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="q" value="" style="width:278px;height: 32px;padding:0px; border:1px solid #415a94;top: -13px;position: relative;" required="">
<input type="image" src="http://gb05.wixweb.co.kr/theme/basic/img/inc/search_btn.png" id="sch_submit" alt="검색" style="/* top: 20px; */">
</form>
로 수정해보세요
추가한건
input 태그에 style 에서 top:-13px;position:relative; 추가했습니다.
!-->
답변을 작성하시기 전에 로그인 해주세요.