쇼핑몰: #271 smt_30 li sct_last 클래스 제거, 롤링 시 달라붙어서 보기 안 좋음

This commit is contained in:
whitedot
2013-08-08 15:55:17 +09:00
parent e37e4544bb
commit fc2e6130b9
2 changed files with 1 additions and 5 deletions

View File

@ -12,9 +12,6 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<!-- 상품유형 30 시작 { -->
<?php
for ($i=1; $row=sql_fetch_array($result); $i++) {
$sct_last = '';
if($i>1 && $i%$this->list_mod == 0)
$sct_last = ' sct_last'; // 줄 마지막
if ($i == 1) {
if ($this->css) {
@ -30,7 +27,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "<ul class=\"sct_ul\">\n";
}
echo "<li class=\"sct_li{$sct_last}\">\n";
echo "<li class=\"sct_li\">\n";
if ($this->href) {
echo "<a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";

View File

@ -103,7 +103,6 @@
.smt_30 .sct_ul:after {display:block;visibility:hidden;clear:both;content:""}
.smt_30 .sct_ul_first {display:block;left:0}
.smt_30 .sct_li {float:left;margin-right:25px}
.smt_40 .sct_last {margin:0 0 15px !important}
.smt_30 .sct_a {display:block;position:relative;text-decoration:none}
.smt_30 .sct_a:focus, .smt_30 .sct_a:hover {text-decoration:none}
.smt_30 .sct_img {display:block;margin:0 0 15px}