최근게시물 위쪽 공백 > 그누4 질문답변

그누4 질문답변

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

최근게시물 위쪽 공백 정보

최근게시물 위쪽 공백

본문

최근게시물 위에 공백이 생겼는데 글씨를 공백부분으로 올리는 방법좀 부탁드립니다.
글씨를 몇줄 더 넣어도 아래부분으로만 내려가네요.
수고하십시오.


latest.skin.php(아래)
-----------------------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

$latest_width = "320"; //탭메뉴 폭과 같게
?>

<style>
.la_he  {  font-family:굴림; font-size:9pt;  color:#636363;line-height:100%;}
</style>

<table width='<?=$latest_width?>' cellpadding='0' cellspacing='0' border='0'>
 <tr>
  <td height='3' colspan='3'></td>
 </tr>

<? for ($i=0; $i<count($list); $i++) { ?>
 <tr>
  <td width='20' height='25' style='padding-left:5px; padding-top:3px;'><img src='<?=$latest_skin_path?>/img/latest_icon.gif' width='9' height='9' border='0'></td>
  <td width='<?=$latest_width-90?>' style='padding-top:1px;' class='la_he'>

<?
    $style = "font-family:돋움; font-size:9pt; color:#636363;";
    if ($list[$i][icon_new])
    $style = "style='font-family:돋움; font-size:9pt; color:#006F00;text-decoration:none;' ";
$subject = "<span $style>".cut_str($list[$i][subject],57)."</span>"; //제목 글자수 자르기

echo $list[$i][icon_reply] . " ";
        echo "<a href='{$list[$i][href]}' title='{$list[$i][subject]}' onfocus='this.blur()'>{$subject}";

if ($list[$i][comment_cnt])
echo " <span style='font-size:8pt; color:#9A9A9A;'>{$list[$i][comment_cnt]}</span>";

// echo " " . $list[$i][icon_new];
        echo "</a>";
        ?>

  </td>
  <td width='70' align='center' class='la_he' style='padding-top:3px;'><span style='font-size:8pt; color:#999999;'><?=$list[$i][datetime]?></span>
  </td>
 </tr>
<tr><td height='1' colspan='3' background='<?=$latest_skin_path?>/img/line.gif'></td></tr>
<? } ?>

<? if (count($list) == 0) { ?><tr><td colspan=3 align=center height=100><font color=#6A6A6A>게시물이 없습니다.</font></td></tr><? } ?>

</tr>
</table>
------------------------
dada_tab.php(아래)


$tab_bo2 = "1004yoj"; //공지 게시판  ID
//$tab_bo3 = "news"; //질답 게시판  ID
//$tab_bo4 = "after"; //질답 게시판  ID
?><head>
<script language="javascript">
function tab_img_change(t){
  for(var i = 1; i <= 2; i++) {
img = document.getElementById('tab_bar'+i);
img.src = "<?=$tab_img?>/tab"+i+"_off.jpg"; 
  eval("document.getElementById('tab_view"+i+"')").style.display="none";

if ( t == i ) {
  img.src = "<?=$tab_img?>/tab"+i+"_on.jpg";
  eval("document.getElementById('tab_view"+i+"')").style.display="";
}       
  }   
}
</script>
</head>




<style>
.la  {  font-family:굴림; font-size:9pt;  color:#636363;}
</style>
<table width="320" border=0  cellpadding=0 cellspacing=0>
<tr>
<td><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$tab_bo1?>">
<img id="tab_bar1" style="cursor:pointer;" onMouseOver="tab_img_change(1)" src="<?=$tab_img?>/tab1_on.jpg" width="72" height="29" border="0">
</a></td>
<td valign="top"><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$tab_bo2?>">
<img id="tab_bar2" style="cursor:pointer;" onMouseOver="tab_img_change(2)" src="<?=$tab_img?>/tab2_off.jpg" width="64" height="29" border="0"></a></td>
<td valign="top">
<img src="<?=$tab_img?>/ratest_left_03.jpg" width="184" height="29" alt=""></td>
</tr>
  <tr>
<td colspan='8'>
<div id="tab_view1">
    <?=latest('dada_latest',$tab_bo1, 3, 100); //제목길이는 최신글 스킨에서 수정요 ?>
</div>
<div id="tab_view2" style="display: none">
    <?=latest('dada_latest',$tab_bo2, 3, 100);?>
</div>
  </td>
</tr>
</table>
  • 복사

댓글 전체

<table width='<?=$latest_width?>' cellpadding='0' cellspacing='0' border='0'>
 에 valign="top"넣어보세요 valign값때문인듯 한데 테이블에 border 줘가면서 잡으시면 편합니다
© SIRSOFT
현재 페이지 제일 처음으로