최근 게시물에서 글자 배열을 바꿀려고 합니다,

최근게시물에서....
뿌려질 내용에 글자 배열을 센터 말고 왼쪽 정렬 하려는데 잘 모르겟네여...
아시는분 계신가요??

http://madeinweb.co.kr/~ff498


latest.skin.php 파일 내용

<?
for ($i=0; $i<count($list); $i++)
{
$title = get_text($list[$i][wr_subject]);
$content = cut_str(strip_tags($list[$i][wr_content]),110,"...");

// 태그 웹표준으로 변경
$content = str_replace("<P>", "", $content);
$content = str_replace("</P>", "", $content);
$content = str_replace("<BR>", "", $content);


$img = "$g4[path]/data/file/$bo_table/".urlencode($list[$i][file][0][file]);
if (!file_exists($img) || !$list[$i][file][0][file])
$img = "$latest_skin_path/img/no_image.gif";
$href = "$g4[bbs_path]/board.php?bo_table=$bo_table&amp;wr_id={$list[$i][wr_id]}";

$upday = cut_str($list[$i][wr_datetime], 10, "");
$tmp = explode("-", $upday);
$upday = $tmp[0]."년 ".$tmp[1]."월 ".$tmp[2]."일";

echo "
<div style='float:left;'>
<a href='$href'>
<img src='{$img}' class='imgBoxContent1' alt='' />
</a>
</div>
<div style='float:left;' class='ctview1'>
<a href='$href'>
<b>{$list[$i][subject]}</b> {$list[$i]['comment_cnt']}
<br />
<span>$content</span>
</a>
<div class='ctviewDate1'>($upday)&nbsp;</div>
</div>

<div style='clear:both; margin:5px;'></div>
";

}
?>

<? if (count($list) == 0) { ?>
<div>게시물이 없습니다.</div>
<? } ?>

입니다....
|

댓글 2개

위에서 부터 센터 정렬이 있어서 그런거 같으신대요
요렇게
<div style='float:left;' class='ctview1' align="left">
요렇게
<div class='ctviewDate1' align="left">
바꿔죠보세요
탑스쿨님 저렇게 고치니 에러뜨는데요 ㅜㅜ
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
17년 전 조회 754
17년 전 조회 701
17년 전 조회 955
17년 전 조회 1,549
17년 전 조회 954
17년 전 조회 687
17년 전 조회 723
17년 전 조회 673
17년 전 조회 947
17년 전 조회 730
17년 전 조회 816
17년 전 조회 799
17년 전 조회 714
17년 전 조회 759
17년 전 조회 806
17년 전 조회 730
17년 전 조회 749
17년 전 조회 925
17년 전 조회 940
17년 전 조회 675
🐛 버그신고