쇼핑몰: 상단 로고 검색창 tnb 스타일 수정, 로고 변경했을 때 검색창 일정 간격 유지를 위한 조치

This commit is contained in:
whitedot
2014-02-06 15:49:28 +09:00
parent 26614bdfd2
commit 0822e74e9a
2 changed files with 57 additions and 61 deletions

View File

@ -62,24 +62,23 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
#hd_qnb div {text-align:center;letter-spacing:-4px} #hd_qnb div {text-align:center;letter-spacing:-4px}
#hd_qnb a {letter-spacing:0} #hd_qnb a {letter-spacing:0}
#logo {padding:35px 0;margin:0 auto;width:1000px} #hd_wrapper {position:relative;margin:0 auto;padding:26px 0;width:1000px;zoom:1}
#hd_wrapper:after {display:block;visibility:hidden;clear:both;content:""}
#hd_aside {} #logo {float:left;padding:5px 0 0}
#hd_aside h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_aside .aside_inner {position:relative;margin:0 auto;width:1000px;min-width:1000px}
#hd_sch {position:absolute;top:-58px;left:170px;border:1px solid #c3c6ca} #hd_sch {float:left;margin:0 0 0 20px;border:1px solid #c3c6ca}
#hd_sch h3 {position:absolute;font-size:0;line-height:0;overflow:hidden} #hd_sch h3 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_sch #sch_str {padding-left:5px;width:110px;height:24px;border:0;background:#fff;line-height:1.9em !important;line-height:1.6em} #hd_sch #sch_str {padding-left:5px;width:110px;height:24px;border:0;background:#fff;line-height:1.9em !important;line-height:1.6em}
#hd_sch #sch_submit {padding:0 5px;height:26px;border:0;background:#e2e6eb;color:#333;cursor:pointer} #hd_sch #sch_submit {padding:0 5px;height:26px;border:0;background:#e2e6eb;color:#333;cursor:pointer}
#hd_nb {position:absolute;top:-60px;right:0} #tnb {float:right}
#hd_nb h3 {position:absolute;font-size:0;line-height:0;overflow:hidden} #tnb h3 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_nb ul {zoom:1} #tnb ul {zoom:1}
#hd_nb ul:after {display:block;visibility:hidden;clear:both;content:""} #tnb ul:after {display:block;visibility:hidden;clear:both;content:""}
#hd_nb li {float:left} #tnb li {float:left}
#hd_nb a {display:inline-block;padding:5px 10px;color:#333;letter-spacing:-0.1em;line-height:2em} #tnb a {display:inline-block;padding:0 10px;height:28px;color:#333;letter-spacing:-0.1em;line-height:2.4em}
#hd_nb a:focus, #hd_nb a:hover {text-decoration:none} #tnb a:focus, #tnb a:hover {text-decoration:none}
/* 중간 레이아웃 */ /* 중간 레이아웃 */
#wrapper {z-index:5;margin:30px auto;width:1000px;zoom:1} #wrapper {z-index:5;margin:30px auto;width:1000px;zoom:1}

View File

@ -32,12 +32,10 @@ include_once(G5_LIB_PATH.'/latest.lib.php');
</div> </div>
</aside> </aside>
<div id="hd_wrapper">
<div id="logo"><a href="<?php echo $default['de_root_index_use'] ? G5_URL : G5_SHOP_URL; ?>/"><img src="<?php echo G5_DATA_URL; ?>/common/logo_img" alt="<?php echo $config['cf_title']; ?>"></a></div> <div id="logo"><a href="<?php echo $default['de_root_index_use'] ? G5_URL : G5_SHOP_URL; ?>/"><img src="<?php echo G5_DATA_URL; ?>/common/logo_img" alt="<?php echo $config['cf_title']; ?>"></a></div>
<aside id="hd_aside"> <div id="hd_sch">
<h2>편의메뉴</h2>
<div class="aside_inner">
<section id="hd_sch">
<h3>쇼핑몰 검색</h3> <h3>쇼핑몰 검색</h3>
<form name="frmsearch1" action="<?php echo G5_SHOP_URL; ?>/search.php" onsubmit="return search_submit(this);"> <form name="frmsearch1" action="<?php echo G5_SHOP_URL; ?>/search.php" onsubmit="return search_submit(this);">
<input type="hidden" name="sfl" value="wr_subject||wr_content"> <input type="hidden" name="sfl" value="wr_subject||wr_content">
@ -60,9 +58,9 @@ include_once(G5_LIB_PATH.'/latest.lib.php');
return true; return true;
} }
</script> </script>
</section> </div>
<section id="hd_nb"> <div id="tnb">
<h3>회원메뉴 및 FAQ</h3> <h3>회원메뉴 및 FAQ</h3>
<ul> <ul>
<?php if ($is_member) { ?> <?php if ($is_member) { ?>
@ -84,9 +82,8 @@ include_once(G5_LIB_PATH.'/latest.lib.php');
<li><a href="<?php echo G5_URL; ?>/">커뮤니티</a></li> <li><a href="<?php echo G5_URL; ?>/">커뮤니티</a></li>
<?php } ?> <?php } ?>
</ul> </ul>
</section>
</div> </div>
</aside> </div>
</div> </div>