최근게시물 정렬 div오류 정보
최근게시물 정렬 div오류본문
크기가 서로 다른 최근게시물 게시판 3개가 내용 부분에 있는 코딩입니다.
두번째 div부터 자꾸 밑으로 떨어지거나 숨어버리네요. 크기가 안 맞는 건지...
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- 메인화면 최신글 시작 -->
<div style="width:630px; cellpadding:0px; cellspacing:0px; background-color:#03C; vertical-align:text-top; overflow:hidden; float:right;">
<div style="float:left; width:240px; background-color:green>
<?=latest("basic", "notice", "4", "28");?>
</div>
<div style="float:right; background-color:red; width:170px;">
<?=latest("basic", "application", "4", "28");?>
</div>
<!--<div style="float:right">
<img src="img/main/movie.gif" width="230" height="152" />
</div>
</div>
<!-- 메인화면 최신글 끝 -->
<?
include_once("./_tail.php");
?>
<? //=latest("스킨명", "게시판id", "줄수", "글자수");?>
두번째 div부터 자꾸 밑으로 떨어지거나 숨어버리네요. 크기가 안 맞는 건지...
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- 메인화면 최신글 시작 -->
<div style="width:630px; cellpadding:0px; cellspacing:0px; background-color:#03C; vertical-align:text-top; overflow:hidden; float:right;">
<div style="float:left; width:240px; background-color:green>
<?=latest("basic", "notice", "4", "28");?>
</div>
<div style="float:right; background-color:red; width:170px;">
<?=latest("basic", "application", "4", "28");?>
</div>
<!--<div style="float:right">
<img src="img/main/movie.gif" width="230" height="152" />
</div>
</div>
<!-- 메인화면 최신글 끝 -->
<?
include_once("./_tail.php");
?>
<? //=latest("스킨명", "게시판id", "줄수", "글자수");?>
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '176879' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php