최근게시물 글란에 밑줄및 박스 없애는방법좀 가르쳐 주세요.

· 2011-05-18 (수) 15:37:41 · 1059 · 1
K-1.jpg
최근 게시물에 밑줄이 생기고 옆에 박스가 생기는데 없애는 방법좀 아시는분 답변좀 부탁합니다.
최근게시판소스는 아래내용 입니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

$latest_table = '300'; //테이블폭

?>
<style>
.la_he { font-family:굴림; font-size:9pt; color:#636363;line-height:150%;text-

decoration:none;}
</style>

<table width='<?=$latest_table?>' cellpadding='0' cellspacing='0' border='0'

align='center'>
<tr>
<td colspan='3'>
<table width='<?=$latest_table?>' cellpadding='0' cellspacing='0' border='0'>
<tr>
<td width='36' background='<?=$latest_skin_path?>/img/bar_bg.gif'><img src='<?

=$latest_skin_path?>/img/bar_left.gif' width='36' height='29' border='0'></td>

<td width='<?=$latest_table-36?>' background='<?=$latest_skin_path?

>/img/bar_bg.gif' class='la_he' style='padding-top:3px;'><a href='<?=$g4[bbs_path]?

>/board.php?bo_table=<?=$bo_table?>' onfocus='this.blur()'><strong><?=$board

[bo_subject]?></strong></a></td>

<td width='20' background='<?=$latest_skin_path?>/img/bar_bg.gif'><img

src='<?=$latest_skin_path?>/img/bar_right.gif' width='20' height='29' border='0'></td>
</tr>
<tr><td height='2' colspan='3'></td></tr>
</table></td>
</tr>

<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td width='20' height='23' style='padding-left:5px;'><img src='<?=$latest_skin_path?

>/img/latest_icon.gif' width='9' height='9' border='0'></td>
<td width='<?=$latest_table-90?>' valign='bottom' 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;' ";
$subject = "<span $style>".cut_str($list[$i][subject],27)."</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' valign='bottom'><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><? } ?>
</table>

첨부파일

K-1.jpg (17.5 KB)
0회 2011-05-18 15:37
|

댓글 1개

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

이부분에 스타일 하나 추가해주세요
text-decoration:none;

$style = "font-family:돋움; font-size:9pt; color:#636363;text-decoration:none;";
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

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

+
제목 글쓴이 날짜 조회
11-05-19 조회 1,815
11-05-19 조회 2,055
11-05-19 조회 1,171
11-05-19 조회 1,625
11-05-19 조회 1,633
11-05-18 조회 1,322
11-05-18 조회 1,210
11-05-18 조회 2,040
11-05-18 조회 1,624
11-05-18 조회 1,671
11-05-18 조회 1,596
11-05-18 조회 1,759
11-05-18 조회 2,003
11-05-18 조회 1,687
11-05-18 조회 1,787
11-05-18 조회 1,893
11-05-18 조회 1,016
11-05-18 조회 1,833
11-05-18 조회 1,043
11-05-18 조회 1,060