묻고답하기

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

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


각설하고..


아래 그림처럼 익스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 남기남
nexonx xe 설치 후 관리자의 아이디나 비번을 바꿀 수 있는지요...?; [1] 2012.03.07 by 송동우
리리즈 "문서에 값을 입력하세요" 하면서 글등록이 안된다고합니다. [1] 2012.03.07 by 애견직거래
AppSeedKorea 다시 질문드립니다~! 모달창 관련 [1] 2012.03.07 by 송동우
인수PD [송동우님 감사합니다 추가질문이요] 특정 권한 접속시 페이지 이동! [1] 2012.03.07 by 송동우
my5082 스마트폰&타블릿에서 이미지 안보임 현상..  
송승곤 홈페이지의 형식이 잘못되었습니다(모바일 댓글 달기문제) [1] 2012.03.07 by 영구만세
nexonx 게시판 권한관리에서 '로그인사용자' 와 '가입한사용자' 는 어떻게 다른지요...?; [1] 2012.03.07 by KANTSOFT
소려 관리자로그인 오류 [1] 2012.03.07 by 송동우
팻클럽 자기회원정보 전체를 공개 비공개 여부를 회원이 선택 하게 할 수 없나요? [1] 2012.03.08 by 애견직거래
my5082 게시판 글쓰기 후 다른 페이지로 이동 [1] 2012.03.07 by 송동우
쿵푸팬더 1.4에서 1.5로 업그레이드 하려고 합니다. [1] 2012.03.07 by WebEagle
smurp777 <다시질문드립니다.>"이 컨트롤을 활성화하여 사용하려면 클릭하십시오"라는 문구 [3] 2012.03.07 by WebEagle
아나니나노 비밀번호 수정하는버튼이 나오는방법을알고싶습니다.  
포토올/wow 특정 게시판에서 획득한 포인트 랭킹 보여주는 위젯은 없나요??방법은?? [1] 2012.03.07 by 포토올/wow
동물농장 게시판 파일 첨부 안 되는 문제  
허접케이 최근 문서 추출관련 문의입니다.(제발 도와주세요 ㅠㅠ)  
SCAC 아무것도 안건드렸는데 백지가 자주 나타납니다. [1] 2012.03.07 by 송동우
인수PD 특정 그룹(비공개) 게시판 안보이게하고 다른 페이지(이미지) 이동 가능한가요? [1] 2012.03.07 by 송동우
windthfl XE 1.5.1.10 업그레이드 후 갤러리게시판 본문 이미지 리사이즈 문제 [1] 2012.03.06 by 송동우
토이워시 카운터 설치 및 초기화 [1] 2012.03.06 by 송동우