글자정렬문제 정보
글자정렬문제본문
아래소스를 사용하면 첨부한 이미지처럼 정렬이 안됩니다.
정렬이되게 하려면 어떻게 해야 하나요
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table border="0" width="185" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img width='185' height='5' src="<?=$popular_skin_path?>/img/top.gif" border='0'></td>
</tr>
<tr>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
<td width='184'>
<center><font color="black"><b>실시간 검색어</b></font><br>
<img width='1' height='5' src="<?=$popular_skin_path?>/img/none.gif" border='0'><br>
<img width='180' height='1' src="<?=$popular_skin_path?>/img/line.gif" border='0'><br>
<img width='1' height='5' src="<?=$popular_skin_path?>/img/none.gif" border='0'><br>
</center>
</td>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
</tr>
<tr>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
<td><table width="185" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="155"><?
for ($i=0; $i<count($list); $i++)
{
if($i=="0")
{
echo " <img width='14' height='13' align='absmiddle' border='0' src='$popular_skin_path/img/num_0".$i.".gif'> <a href='$g4[bbs_path]/search.php?sfl=wr_subject&sop=and&stx=".urlencode($list[$i][pp_word])."' target='_parent'><font style=font-size:9pt; color=#00285A><b>{$list[$i][pp_word]}</b></font></a><br>";
}
else
{
echo " <img width='14' height='13' align='absmiddle' border='0' src='$popular_skin_path/img/num_0".$i.".gif'> <a href='$g4[bbs_path]/search.php?sfl=wr_subject&sop=and&stx=".urlencode($list[$i][pp_word])."' target='_parent'><font style=font-size:9pt; color=#00285A><b>{$list[$i][pp_word]}</b></font></a><br>";
}
} //for문으로 이루어진 전체루틴 종료(빼 먹지 말것)
?></td>
<td width="30"><?
for ($i=0; $i<count($list); $i++)
{
echo "<font style=font-size:7pt; color=#ef5d00>{$list[$i][cnt]}</font> <br> ";//검색 카운트 출력
} //for문으로 이루어진 전체루틴 종료(빼 먹지 말것)
?></td>
</tr>
</table></td>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
</tr>
<tr>
<td colspan="3"><img width='185' height='5' src="<?=$popular_skin_path?>/img/bottom.gif" border='0'></td>
</tr>
</table>
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table border="0" width="185" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img width='185' height='5' src="<?=$popular_skin_path?>/img/top.gif" border='0'></td>
</tr>
<tr>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
<td width='184'>
<center><font color="black"><b>실시간 검색어</b></font><br>
<img width='1' height='5' src="<?=$popular_skin_path?>/img/none.gif" border='0'><br>
<img width='180' height='1' src="<?=$popular_skin_path?>/img/line.gif" border='0'><br>
<img width='1' height='5' src="<?=$popular_skin_path?>/img/none.gif" border='0'><br>
</center>
</td>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
</tr>
<tr>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
<td><table width="185" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="155"><?
for ($i=0; $i<count($list); $i++)
{
if($i=="0")
{
echo " <img width='14' height='13' align='absmiddle' border='0' src='$popular_skin_path/img/num_0".$i.".gif'> <a href='$g4[bbs_path]/search.php?sfl=wr_subject&sop=and&stx=".urlencode($list[$i][pp_word])."' target='_parent'><font style=font-size:9pt; color=#00285A><b>{$list[$i][pp_word]}</b></font></a><br>";
}
else
{
echo " <img width='14' height='13' align='absmiddle' border='0' src='$popular_skin_path/img/num_0".$i.".gif'> <a href='$g4[bbs_path]/search.php?sfl=wr_subject&sop=and&stx=".urlencode($list[$i][pp_word])."' target='_parent'><font style=font-size:9pt; color=#00285A><b>{$list[$i][pp_word]}</b></font></a><br>";
}
} //for문으로 이루어진 전체루틴 종료(빼 먹지 말것)
?></td>
<td width="30"><?
for ($i=0; $i<count($list); $i++)
{
echo "<font style=font-size:7pt; color=#ef5d00>{$list[$i][cnt]}</font> <br> ";//검색 카운트 출력
} //for문으로 이루어진 전체루틴 종료(빼 먹지 말것)
?></td>
</tr>
</table></td>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
</tr>
<tr>
<td colspan="3"><img width='185' height='5' src="<?=$popular_skin_path?>/img/bottom.gif" border='0'></td>
</tr>
</table>
댓글 전체
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table border="0" width="185" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img width='185' height='5' src="<?=$popular_skin_path?>/img/top.gif" border='0'></td>
</tr>
<tr>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
<td width='184'>
<center>
<font color="black"><b>실시간 검색어</b></font><br>
<img width='1' height='5' src="<?=$popular_skin_path?>/img/none.gif" border='0'><br>
<img width='180' height='1' src="<?=$popular_skin_path?>/img/line.gif" border='0'><br>
<img width='1' height='5' src="<?=$popular_skin_path?>/img/none.gif" border='0'><br>
</center></td>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
</tr>
<tr>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
<td>
<table width="185" border="0" cellspacing="0" cellpadding="0">
<?
for ($i=0; $i<count($list); $i++) {
?>
<tr height="20">
<td width="155">
<?
// 첫번째
if ($i == '0') {
echo " <img width='14' height='13' align='absmiddle' border='0' src='$popular_skin_path/img/num_0".$i.".gif'> <a href='$g4[bbs_path]/search.php?sfl=wr_subject&sop=and&stx=".urlencode($list[$i][pp_word])."' target='_parent'><font style=font-size:9pt; color=#00285A><b>{$list[$i][pp_word]}</b></font></a><br>";
} else {
echo " <img width='14' height='13' align='absmiddle' border='0' src='$popular_skin_path/img/num_0".$i.".gif'> <a href='$g4[bbs_path]/search.php?sfl=wr_subject&sop=and&stx=".urlencode($list[$i][pp_word])."' target='_parent'><font style=font-size:9pt; color=#00285A><b>{$list[$i][pp_word]}</b></font></a><br>";
}
?></td>
<td width="30"><font style=font-size:7pt; color=#ef5d00><?=$list[$i][cnt]?></font></td>
</tr>
<? } ?>
</table></td>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
</tr>
<tr>
<td colspan="3"><img width='185' height='5' src="<?=$popular_skin_path?>/img/bottom.gif" border='0'></td>
</tr>
</table>
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table border="0" width="185" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img width='185' height='5' src="<?=$popular_skin_path?>/img/top.gif" border='0'></td>
</tr>
<tr>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
<td width='184'>
<center>
<font color="black"><b>실시간 검색어</b></font><br>
<img width='1' height='5' src="<?=$popular_skin_path?>/img/none.gif" border='0'><br>
<img width='180' height='1' src="<?=$popular_skin_path?>/img/line.gif" border='0'><br>
<img width='1' height='5' src="<?=$popular_skin_path?>/img/none.gif" border='0'><br>
</center></td>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
</tr>
<tr>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
<td>
<table width="185" border="0" cellspacing="0" cellpadding="0">
<?
for ($i=0; $i<count($list); $i++) {
?>
<tr height="20">
<td width="155">
<?
// 첫번째
if ($i == '0') {
echo " <img width='14' height='13' align='absmiddle' border='0' src='$popular_skin_path/img/num_0".$i.".gif'> <a href='$g4[bbs_path]/search.php?sfl=wr_subject&sop=and&stx=".urlencode($list[$i][pp_word])."' target='_parent'><font style=font-size:9pt; color=#00285A><b>{$list[$i][pp_word]}</b></font></a><br>";
} else {
echo " <img width='14' height='13' align='absmiddle' border='0' src='$popular_skin_path/img/num_0".$i.".gif'> <a href='$g4[bbs_path]/search.php?sfl=wr_subject&sop=and&stx=".urlencode($list[$i][pp_word])."' target='_parent'><font style=font-size:9pt; color=#00285A><b>{$list[$i][pp_word]}</b></font></a><br>";
}
?></td>
<td width="30"><font style=font-size:7pt; color=#ef5d00><?=$list[$i][cnt]?></font></td>
</tr>
<? } ?>
</table></td>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
</tr>
<tr>
<td colspan="3"><img width='185' height='5' src="<?=$popular_skin_path?>/img/bottom.gif" border='0'></td>
</tr>
</table>
ㅋ.ㅋ...
다른데 정신이 가 있으니 질문의 요지도 파악 못하고 댓글 썼다가 삭제를....^^
다른데 정신이 가 있으니 질문의 요지도 파악 못하고 댓글 썼다가 삭제를....^^
>> ㅋ.ㅋ...
왠지, 소주가 연상되는 이모티콘 +_+
왠지, 소주가 연상되는 이모티콘 +_+
답변 감사합니다.