회원에게 공개되는 공간입니다. 올려진 팁이나 자료가 절대적으로 옳은 방법은 아닙니다. 다양한 방법중 하나의 방법임을 이해해 주시기 바라며, 보다 나은 방법이 있거나 궁금한 사항이 있으시면 댓글로 참여해 주시면 감사하겠습니다.

검색창 검색어 입력공간을 늘릴려면....

조회 수 659 추천 수 0 2007.08.23 15:58:09
검색창 입력공간은 이미지로 되어있다.
물론 사이즈 변경도 해줘야 하지만 입력공간의 테두리쳐진 부분은 ../images/white/bgSearchOn.gif 와 같은 이미지이다.

아래 소스는 zbxe/layouts/xe_official/css/white.css 파일에서 내가 수정해서 사용하는


#isSearch { position:absolute; top:55px; right:10px; width:248px; text-align:right;}
#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(../images/white/bgSearchTerm.gif) no-repeat; font:11px "돋움", Dotum, "굴림", Gulim, AppleGothic, Sans-serif; color:#5c5c5c; line-height:normal;}
#isSearch ul { display:none; position:absolute; left:0; top:18px; padding:2px 0 3px 0; text-align:left; border:1px solid #b2b2b2; background:#ffffff; overflow:hidden;}
#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:#5c5c5c;}
#isSearch ul li label.on { background:#ededed; }
#isSearch ul li label:hover,
#isSearch ul li label:focus { background:#ededed;}
#isSearch .inputText { vertical-align:middle; _position:relative; _top:-1px; padding:3px 0px 1px 0px; width:130px; height:15px; color:#5c5c5c; border:none; background:url(../images/white/bgSearch.gif) no-repeat;}
#isSearch .inputText:hover,
#isSearch .inputText:focus { background:url(../images/white/bgSearchOn.gif) no-repeat;}
*:first-child+html #isSearch .inputText { position:relative; top:-1px;}
#isSearch .submit { vertical-align:middle; _position:relative; _top:-1px;}
*:first-child+html #isSearch .submit { position:relative; top:-1px;}

그리고 첨부파일에 검은색 검색버튼과 폭이 130px인 검색배경을 같이 올려 둠.

필요하신 분들은 다운 받아 사용하시면 되겠네요.

이번팁도 시간절약차원의 팁..

소스 찾고 이해하려면 그래도 1분은 걸릴테니..그거라도 아껴야죠.ㅋㅋ


댓글 '1'

[레벨:0]파파민

2007.09.08 14:19:15
*.92.143.192

실용적인 좋은 팁 감사합니다. ^^

문서 첨부 제한 : 0Byte/ 5368709120.00MB
파일 제한 크기 : 2.00MB (허용 확장자 : *.*)
List of Articles
번호 제목 글쓴이 날짜 조회 수
19 최신댓글에 닉네임을 출력하자! [1] [레벨:30]똑띠 2007-08-28 508
18 레이아웃템플릿 이미지클릭시 새창 띄우기 [4] [레벨:30]똑띠 2007-08-28 713
17 최근게시물 New 아이콘 출력하려면? imagefile [18] [레벨:30]똑띠 2007-08-26 730
16 mypage를 별도로 만들어 처리하고자 할때... [4] [레벨:30]똑띠 2007-08-26 945
15 이미지로 로그인 로그아웃 처리가 필요할때.. [레벨:30]똑띠 2007-08-26 639
14 관리자일때와 아닐때 체크 [2] [레벨:30]똑띠 2007-08-26 549
13 xe_official 레이아웃 좌측 3단 메뉴부분 배경처리 [레벨:30]똑띠 2007-08-26 803
12 태그를 한번 알아보자. [레벨:30]똑띠 2007-08-25 695
11 좌측 구분선 처리는 어디서 ? [4] [레벨:30]똑띠 2007-08-23 746
» 검색창 검색어 입력공간을 늘릴려면.... file [1] [레벨:30]똑띠 2007-08-23 659
9 상단메뉴 사이 구분선 수정하려면... [레벨:30]똑띠 2007-08-23 737
8 상단메뉴 개수를 지정한 만큼만 보여주고자 할 경우 [2] [레벨:30]똑띠 2007-08-23 1953
7 설문조사 등록후 설문체크 부분이 안보이시는 분 [레벨:30]똑띠 2007-08-21 523
6 똑띠가 추가로 사용하는 기능 및 프로그램들 image [3] [레벨:30]똑띠 2007-08-21 973
5 설치 후 회원가입폼 설정에서 꼭 해줘야 할 부분. [레벨:30]똑띠 2007-08-15 846
4 위젯 코드 생성창 처리부분의 소스 경로 [레벨:30]똑띠 2007-08-15 661
3 최근 코멘트 태그가 출력되는 부분 수정하려면... [레벨:30]똑띠 2007-08-14 600
2 상단 로고부분 공간 늘릴려면... [레벨:30]똑띠 2007-08-14 909
1 최근댓글위젯에서 글자수 늘릴려면... [1] [레벨:30]똑띠 2007-08-13 752