테두리 관련문의드립니다 > 그누4 질문답변

그누4 질문답변

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

테두리 관련문의드립니다 정보

테두리 관련문의드립니다

본문

최신게시판소스입니다
상단은 테두리는있는데 하단에는 테두리가 없습니다 아무리해봐도
테두리가 이상하게생기네요 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>
&nbsp;<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>&nbsp;&nbsp;<?=$list[$i][subject]?>&nbsp;<?//=$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>&nbsp;&nbsp;<?=$list[$i][subject]?>&nbsp;<?//=$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>&nbsp;&nbsp;<?=$list[$i][subject]?>&nbsp;<?//=$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><? } ?>
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로