최신글 구분선...dotted

· 2013-10-24 (목) 11:13:39 · 1028 · 7
latest.skin.php 내용입니다

<table width=100% cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center>
<table width=98% border="0" cellpadding="3" cellspacing="0">
<tr>
<td height=25><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>  
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#ff9efe;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#ffffff;'>{$list[$i]['subject']}</font>";
echo "</a>";

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

// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }

echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];
?></td></tr>
<tr><td style="border-bottom:1px; border-bottom-color:#999; border-bottom-style:dotted;"></td></tr>
</table></td>
</tr>
<? } ?>

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

</table>




어제 집에선 분명 잘 되었다고 확인했는데

사무실와서 보니 적용이 안되네요 ㅠㅠ 머가 문제일까요 휴
|

댓글 7개

2013-10-24 (목) 11:42:33
익스플로러에서 td안의 내용이 없어서 공간 할당을 못하여 td의 border-bottom-style:dotted가 표시되지 못하고 있는것 같습니다.
크롬에서는 정상적으로 점선으로 표시 됩니다.
집에서 확인하신 브라우져와 사무실에서 확인하신 브라우져가 동일한지 확인부탁드립니다.
2013-10-24 (목) 11:50:26
table에 style="border-collapse: collapse; " 넣어주세요
<table width=98% border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse;>

넣어봤는데 노출 제목이 다 사라지고 댓글갯수만 표기되네요 ㅠㅠ

아 이것도 뒤에 "을 제가 안붙였네요....허허 참 민망하네
2013-10-24 (목) 11:43:10
<tr><td style="border-bottom:1px; border-bottom-color:#999; border-bottom-style:dotted;"></td></tr>
는 삭제 하시구요

<td height=25><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>  

이부분을

<td height=25 style="border-bottom:1px dotted #999 ;"><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>  

이렇게 변경해 보세요..
반달곰한마리님과 마찬가지로 넣어봤는데 노출 제목이 다 사라지고 댓글갯수만 표기되네요 ㅠㅠ
2013-10-24 (목) 12:12:19
작업주소는 노출 못하시나요? 소스보기 해보고 싶은데..
어? 아닙니다 제가 실수했네요 뒤에 " 이걸 안붙였........ㅠㅠ 감사합니다

<td height=25 style="border-bottom:1px dotted #999;>

<td height=25 style="border-bottom:1px dotted #999;">
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

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

+
제목 글쓴이 날짜 조회
13-10-24 조회 1,708
13-10-24 조회 1,211
13-10-24 조회 1,029
13-10-24 조회 1,184
13-10-24 조회 2,204
13-10-24 조회 2,713
13-10-23 조회 1,129
13-10-23 조회 1,758
13-10-23 조회 1,811
13-10-23 조회 1,802
13-10-23 조회 1,229
13-10-23 조회 1,457
13-10-23 조회 1,102
13-10-23 조회 1,751
13-10-23 조회 1,727
13-10-23 조회 941
13-10-23 조회 2,518
13-10-23 조회 1,066
13-10-23 조회 2,887
13-10-23 조회 1,095