묻고답하기

검색창을 홈페이지에 달았는데요. 

페이지가 뜨면 글자가 보여지고 검색창에 글입력시에는 사라지도록 했습니다.


각설하고..


아래 그림처럼 익스8과 크롬에서 글 위치가 다르게 보입니다.


a.png b.png

        익스 8                        크롬


소스위치는 제대로 잡은 듯 한데.. 그렇다면 크롬에서는 제대로 보이는거고 익스8에서는 제대로 못잡는게 되겠네요.


익스8에서 크롬처럼 위로 더 올라가야 할듯 싶은데..


enter keyword를 클릭했다가 아무것도 적지않고 검색창 밖을 클릭하면 다시 저 문구가 보이도록 했거든요. 

이렇게 했을때 크롬은 위치가 같고 익스8에서는 글 위치가 제대로 잡히는거 같습니다. 

문제는 익스8에서 처음에 페이지 떳을때 글위치가 저렇게 된다는거죠.. 

이걸 어떻게 해결 해야 할까요?


css 와 html 소스 올립니다.



css

/* 검색창 */

#isSearch { position:absolute; top:10px; left:10px; width:150px; text-align:left;}

#isSearch .searchOrder { display:none;}

#isSearch .checked { position:absolute; left:0; top:0; text-align:left; display:block; padding:5px 0 0 5px; width:64px; height:14px; background:url() no-repeat; font:11px "돋움", Dotum, "굴림", Gulim, AppleGothic, Sans-serif; color:#ffffff; line-height:normal;}

*:first-child+html #isSearch .checked { top:1px; }

#isSearch ul { display:none; position:absolute; left:0; top:18px; padding:2px 0 3px 0; text-align:left; border:1px solid #432d16; background:#536c6d;}

#isSearch ul li { width:67px; height:18px; list-style:none; }

#isSearch ul li input { display:none;}

#isSearch ul li label { display:block; padding:4px 0 0 4px; width:63px; height:15px; font:11px "돋움", Dotum, "굴림", Gulim, AppleGothic, Sans-serif; color:#432d16;}

#isSearch ul li label.on { background:#9abb83; }

#isSearch ul li label:hover,

#isSearch ul li label:focus { background:#9abb83;}

#isSearch .inputText { text-align:center;vertical-align:top; position:relative; top:-1; _top:-1px; left:1px; padding:3px 3px 0px 3px; width:94px; height:14px; color:#9abb83; border:1px solid #432d16; background-color:#799e61; }

#isSearch .inputText:hover,

#isSearch .inputText:focus { color:#799e61; border:1px solid #432d16; background-color:#9abb83; }

*:first-child+html body#default #isSearch .inputText { position:relative; top:-1px;}

#isSearch .submit { vertical-align:middle; _position:relative; _top:-1px;}

*:first-child+html body#default #isSearch .submit { position:relative; top:-1px;}



html

<!-- 검색 -->

        <form action="{getUrl()}" method="post" id="isSearch">

            <!--@if($vid)-->

            <input type="hidden" name="vid" value="{$vid}" />

            <!--@end-->

            <input type="hidden" name="mid" value="{$mid}" />

            <input type="hidden" name="act" value="IS" />

            <input type="hidden" name="search_target" value="title_content" />

            <input name="is_keyword" type="text" value="enter keyword" class="inputText"  onFocus="if (this.value == 'enter keyword') {this.value = '+ '+ '';}" onBlur="if (this.value == '') {this.value = 'enter keyword';}"title="내용을 입력해 주세요." />


            <input type="image" src="./img/buttonSearch.gif" alt="{$lang->cmd_search}" class="submit"title="검색" />

        </form>

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
whitemind xe를 삭제하고 다시 설치하는데 문제가 발생합니다. [1] 2010.01.01 by saiph
실황 XE도 노프레임 홈페이지 만들기 안되나요?? [2] 2010.01.02 by 시니시즘
우드827 XE에서 jQuery 플러그인인 droppy 메뉴를 사용하려면 어떻게 해야할까요 [1] 2010.01.02 by plruto
프린스영이 xe의특정게시판의 게시글을 xml로 만드는 방법이요..  
칼이스마 이런 일이 일어나다니...헐........... 선배님들 도와주세요 [1] 2010.01.02 by 유아원
이창호143 한 게시판에서 자신이 쓴글만 보게 하는 방법이 있나요? [1] 2010.01.02 by 유아원
존임 XE배경 적용이 안되요! [1] 2010.01.02 by 유아원
三乭 메타탸그 질문입니다.  
달팽이355 다운로드랭킹 매일 매일 새로 출력하기 (재질문)  
zerozerozero 회원가입 확장버전 질문입니다ㅠㅜ [2] file 2010.01.02 by 난다날아
yohan666 현재 제로보드 공식홈페이지 메인에 있는 공지사항 위젯은 무엇이죠? [1] file 2010.01.02 by 난다날아
노턴선생 새 글 에디터 창에 호스팅업체 주소를 못찾겠다고 올라오는데 어찌 없애죠? file  
newyork 그누보드===> xe 게시판테이블 옮길수잇나요? [1] 2010.01.02 by 별따기
안멋진도령 xe 폴더 삭제후 문제가 생겼어요 [1] 2010.01.02 by 별따기
한니발2 요청하신 기능을 실행할 수 있는 권한이 없습니다. [1] 2010.01.02 by 한니발2
한니발2 1.3.1 로 업그레이드 하고 나서 글쓰기 하면 하얗게 나옵니다.... [1] 2010.01.02 by 한니발2
실황 리눅스 서버에 제로보드4가 무한루프(?) 걸리네요.  
sdfew 제 홈페이지를 rss 발행시키려면 어떻게 하나요?? [1] 2010.01.02 by 이그누
sunny08 메인페이지 레이아웃 생성요청  
달봉이님 XE 에서 메일 발송은 어떻게 하나요?  
박노열 쉬운설치 에러문제 도와주세요. [1] file 2010.01.03 by Pw-NET
정종 서브닷 프로그램을 사용하고 싶은데...좀 도와주세요  
uridule 검색창의 글자위치가 ie8과 크롬에서 달리보이는 문제 해결 좀 부탁드립니다. file  
Revendo iis7 + php + mssql 환경에서 제로보드XE 사용 질문 입니다. [1] 2010.01.03 by uridule
[내사랑] XE돌리기에 가장빠른 웹호스팅은 어떤게 있나요?  
sungjaeq #### 사진을 자동으로 본문삽입하는 방법있나요??? ####  
HLA 다음으로 인증메일 내용이 안보이는 문제 [2] file 2010.01.03 by 꽃들
노대갈휭 사랑비 bgm설치관련 [1] 2010.01.03 by 열린 공간
노턴선생 상자 위젯의 내용직접추가 연필 누를 때 에디터 문제 [3] 2010.01.03 by 노턴선생
대야야 게시판에 글이 안올라가요... file