From 2280cca23a0b15c4a5e7ad7802f2171a117b2676 Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 29 Apr 2013 17:47:40 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#97=20=EC=83=81?= =?UTF-8?q?=ED=92=88=EB=B6=84=EB=A5=98=20=ED=91=9C=EC=A4=80=ED=99=94=20?= =?UTF-8?q?=EB=B0=8F=20=EC=8A=A4=ED=83=80=EC=9D=BC=20ie6=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default_shop.css | 2 +- shop/boxcategory.inc.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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 ''; + ?>