검색부분 위치 조정 문의 드립니다.

검색부분 위치 조정 문의 드립니다.

QA

검색부분 위치 조정 문의 드립니다.

본문

f82bd4c7b1dbaf8da158f207c728e8c9_1421813955_2027.gif
로고부분과 검색부분의 위치가 다른데요.

검색부분을 로고와 같은 중앙정렬을 하고 싶어요.

 

높이 조절을 어찌해야 할지 모르겠어요.

 

#hd_sch {float:left;margin:0 0 0 230px;border:2px solid #5a9fe2}

#hd_sch h3 {position:absolute;font-size:0;line-height:0;overflow:hidden}

#hd_sch #sch_str {padding-left:5px;width:210px;height:24px;border:0;background:#fff;line-height:1.9em !important;line-height:1.6em}

#hd_sch #sch_submit {padding:0 0px;height:26px;border:0;background:#ffffff;color:#333;cursor:pointer}

 

이 질문에 댓글 쓰기 :

답변 1

#hd_sch {float:left;margin:0 0 0 230px;border:2px solid #5a9fe2}

 

230부분을 바꿔보세요.

100으로 수정하면
좌측으로 정렬되고 높이는 변함이 없습니다.

css파일입니다.



@charset "utf-8";
/* SIR 지운아빠 */

/* 초기화 */
html {overflow-y:scroll}
body {margin:0;padding:0;font-size:0.75em;font-family:dotum}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:dotum}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
#hd ul, nav ul, #ft ul {margin:0;padding:0;list-style:none}
legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, button, select, img {vertical-align:middle}
input, button {margin:0;padding:0;font-family:dotum;font-size:1em}
button {cursor:pointer}
textarea, select {font-family:dotum;font-size:1em}
select {margin:0}
p {margin:0;padding:0;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:1.1em}
a:link, a:visited {color:#000;text-decoration:none}
a:hover, a:focus, a:active {color:#000;text-decoration:underline}

/* 팝업레이어 */
#hd_pop {z-index:1050;position:relative;margin:0 auto;width:1050px;height:0}
#hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff}
.hd_pops_con {}
.hd_pops_footer {padding:10px 0;background:#000;color:#fff;text-align:right}
.hd_pops_footer button {margin-right:5px;padding:5px 10px;border:0;background:#393939;color:#fff}

/* 상단 레이아웃 */
#hd {min-width:1050px;border-bottom:0px solid #dde4e9}
#hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}

/* #hd_qnb {border-bottom:0px solid #e9e9e9;background:<img src="<?php echo G5_SHOP_URL; ?>/img/t_bg.gif">;zoom:1}  */

#hd_qnb {min-width:1050px;border-bottom:1px solid #dde4e9;background:url('/shop/img/이미지.gif')}
#hd_qnb:after {display:block;visibility:hidden;clear:both;content:""}
#hd_qnb h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_qnb ul {width:1050px;margin:0 auto;zoom:1}
#hd_qnb ul:after {display:block;visibility:hidden;clear:both;content:""}
#hd_qnb .li_l {float:left;margin:0 0 0 0px}
#hd_qnb .li_ll {float:left;margin:0 0 0 0px}
#hd_qnb .li_r {float:right;margin:0;padding-top:0px}

#hd_qnb a {margin-right:10px;letter-spacing:0}
#hd_qnb a:focus, #hd_qnb a:hover {color:#ff0000;text-decoration:none}
#hd_qnb_m {min-width:1050px;border-bottom:0px solid #dde4e9;background:url('/shop/img/t_bg.gif')}
#hd_qnb_m h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_qnb_m ul {width:1050px;margin:0 auto;zoom:1}

#hd_wrapper {position:relative;margin:0 auto;padding:5px 0;width:1050px;zoom:1}
#hd_wrapper:after {display:block;visibility:hidden;clear:both;content:""}

#logo {float:left;padding:0px 0 0}

#img {float:right;padding:0px 0 0}

#hd_sch {float:left;margin:-600 0 0 230px;border:2px solid #5a9fe2}
#hd_sch h3 {position:absolute;top:140px;font-size:0;line-height:0;overflow:hidden}
#hd_sch #sch_str {padding-left:5px;width:210px;height:24px;border:0;background:#fff;line-height:1.9em !important;line-height:1.6em}
#hd_sch #sch_submit {padding:0 0px;height:26px;border:0;background:#ffffff;color:#333;cursor:pointer}

#tnb {float:right}
#tnb {min-width:1050px;border-bottom:1px solid #dde4e9;background:url('/shop/img/t_bg02.gif')}
#tnb h3 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#tnb ul {zoom:1}
#tnb ul:after {display:block;visibility:hidden;clear:both;content:""}
#tnb li {float:left}
#tnb a {display:inline-block;padding:0 10px;height:28px;color:#333;letter-spacing:-0.1em;line-height:2.4em}
#tnb a:focus, #tnb a:hover {text-decoration:none}

/* 중간 레이아웃 */
#wrapper {z-index:5;margin:20px auto;width:1050px;zoom:1}
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
#wrapper_title {margin-bottom:20px;font-size:1.2em;font-weight:bold}

/* aside wrapper */
#aside {float:left;margin:0 10px 0 0;width:190px}

#container {position:relative;float:left;width:750px;min-height:500px;height:auto !important;height:500px;background:#fff;zoom:1}
#container:after {display:block;visibility:hidden;clear:both;content:""}

/* 텍스트 크기 조절 */
#text_size {display:none;position:absolute;top:-31px;left:-1px}
#text_size button {padding:0 10px;height:30px;border:1px solid #cfded8;border-bottom:0;background:#000;color:#fff;cursor:pointer}
.
.
.

답변을 작성하시기 전에 로그인 해주세요.
전체 9
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT