짝

테두리 관련문의드립니다

· 2011-12-16 (금) 02:15:48 · 2520
최신게시판소스입니다
상단은 테두리는있는데 하단에는 테두리가 없습니다 아무리해봐도
테두리가 이상하게생기네요 boder 1로했는데 테두리가 삐딱하게들어가내요
테두리 넣는법좀알려주세요

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style>
.sh_latest { width:100%; height: 10%; position: relative; margin-right:1px; }
.sh_latest dl { float:left; clear:both; display:block; margin:0; padding: 1px 1px 1px 1px; }
.sh_latest dt, dd { display:block; }
.sh_latest dt { padding-top:8px; float:left; clear:left; font-size:9pt; color:#696969; font-weight: normal; }
.sh_latest dd { padding-top:8px; width:100px; float:right; clear:right; text-align: right; }

.sh_latest_top { width: 100%; position: relative; vertical-align:absmiddle; height:17px; text-align: left; background-image:url('<?=$latest_skin_path?>/img/header.gif'); border: 1px solid #1c1c1c; }
.sh_latest_content { width: 100%; position: relative; padding: 1px; text-align: left; border-bottom: 1px dotted #444444; border-top: 1; }
.sh_latest_top * { vertical-align:middle; display:inline; }
</style>

<script language="JavaScript" src="<?=$latest_skin_path?>/img/textscroll.js"></script>
<div class="sh_latest">
<dl class="sh_latest_top">
<dt>
 <a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><span style="font-weight: bold; color: #8781BD;"><?=$board[bo_subject]?></span></a>|Board
</dt>
<dd>
<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src="<?=$latest_skin_path?>/img/more.gif" width="45px" height="17px" border='0'></a>
</dd>
</dl>
</div>
<table width=100% cellpadding=0 cellspacing=0>

<tr>
<td height="100%">
<div style="position:static;margin:0px 10px 5px 10px; padding-left:0px;">
<span id='rts1'></span>

<script type='text/javascript'>


var action_state="top"; // 고정값
var spacing_gab1=8; // ★ 첫라인 상단 여백
var spacing_gab2=8; // ★ 이후라인 상단 여백
var width_area=210; // ★ 레이어 가로 폭
var line_ea=5; // ★ 보이는 목록 개수 <- 10개의 반인 5개보다 큰 수로 써주세요.
var loopWait=300; // ★ 줄 전부 바뀌고 대기하는 시간
var rollingWait=10; // ★ 줄 바뀌고 아랫줄 바뀌는 시간차
var rts1=new RealTimeSearch(action_state,spacing_gab1,spacing_gab2,width_area,1);



var a1=new rts1.Admin('rts1',{count : line_ea,loopWait : loopWait,rollingWait : rollingWait},[
<? for ($i=0; $i<5; $i++) { //<- 10개의 반인 5
$ca = $i+1;
$icon_new = $list[$i][icon_new];
?>
{className : '<?=$ca?>',href : '<?=$list[$i][href]?>',title : '<img src=<?=$latest_skin_path?>/img/<?=$i+1?>.gif>  <?=$list[$i][subject]?> <?//=$icon_new?>',date : '<?=$list[$i]['datetime2']?>'},
<? } ?>

]);

function top_1() {
a1.setTmpValue([
<? for ($i=5; $i<10; $i++) { //<- 10개의 반인 5+5
$da = $i+1;
$icon_new = $list[$i][icon_new];
?>
{className : '<?=$da?>',href : '<?=$list[$i][href]?>',title : '<?=$list[$i][href]?>',title : '<img src=<?=$latest_skin_path?>/img/<?=$i+1?>.gif>  <?=$list[$i][subject]?> <?//=$icon_new?>',date : '<?=$list[$i]['datetime2']?>'},
<? } ?>
]);
}
function down_1() {
a1.setTmpValue([

<? for ($i=0; $i<5; $i++) { //<- 10개의 반인 5
$ca = $i+1;
$icon_new = $list[$i][icon_new];
?>

{className : '<?=$ca?>',href : '<?=$list[$i][href]?>',title : '<?=$list[$i][href]?>',title : '<img src=<?=$latest_skin_path?>/img/<?=$i+1?>.gif>  <?=$list[$i][subject]?> <?//=$icon_new?>',date : '<?=$list[$i]['datetime2']?>'},
<? } ?>
]);

}

top_1();



</script>
</div>
</td></tr></table>


<? if (count($list) == 0) { ?><table width=100% cellpadding=0 cellspacing=0><tr><td colspan=4 align=center height=0><font color=#6A6A6A>게시물이 없습니다.</a></td></tr></table><? } ?>
|
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
11-12-16 조회 963
11-12-16 조회 1,682
11-12-16 조회 895
11-12-16 조회 1,146
11-12-16 조회 1,777
11-12-16 조회 1,686
11-12-16 조회 892
11-12-16 조회 1,096
11-12-16 조회 2,680
11-12-16 조회 2,501
11-12-16 조회 892
11-12-16 조회 1,093
11-12-16 조회 1,102
11-12-16 조회 1,664
11-12-16 조회 1,906
11-12-16 조회 1,102
11-12-16 조회 653
11-12-16 조회 3,027
11-12-16 조회 2,521
11-12-16 조회 2,759