diff --git a/css/default_shop.css b/css/default_shop.css index a0d7cfee1..9196924ea 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -93,7 +93,7 @@ a:active {color:#000;text-decoration:underline} .gnb_1dul {margin:0;border:0;background:#fff;list-style:none} .gnb_1dli {position:relative;background:url('../img/shop/gnb_bg.gif') top right repeat-x} .gnb_1dli_on {background-position:right -33px;color:#fff;text-decoration:none} -.gnb_1da {display:block;padding:0 10px;height:33px;border-bottom:1px solid #f4f4f4;font-weight:bold;text-decoration:none;line-height:2.9em !important;line-height:2.7em} +.gnb_1da {display:inline-block;padding:0 10px;width:128px;height:33px;border-bottom:1px solid #f4f4f4;font-weight:bold;text-decoration:none;line-height:2.9em !important;line-height:2.7em} .gnb_1dli_on .gnb_1da {color:#fff !important;text-decoration:none !important} .gnb_2dul {display:none;z-index:1000;position:absolute} .gnb_1dli_over .gnb_2dul, diff --git a/shop/boxcategory.inc.php b/shop/boxcategory.inc.php index ba1dc89a2..a2be4ed1a 100644 --- a/shop/boxcategory.inc.php +++ b/shop/boxcategory.inc.php @@ -12,15 +12,14 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 and ca_use = '1' order by ca_id "; $hresult = sql_query($hsql); - $hnum = @mysql_num_rows($hresult); $gnb_zindex = 10000; // gnb_1dli z-index 값 설정용 + $count = count($hresult); for ($i=0; $row=sql_fetch_array($hresult); $i++) { $gnb_zindex -= 1; // html 구조에서 앞선 gnb_1dli 에 더 높은 z-index 값 부여 ?>
  • - + 0) echo ''; + ?>