index.php 에 있는 요소들을 무조건 고정시키려면? 채택완료
index.php 에 있는 요소들을 무조건 고정시키려면 어떻게 하는것이 좋을까요?
인터넷 창 크기를 늘리거나 줄여도 말이죠.. 고정되게.....
css 의 wrapper 부분을 좀 수정해봐야 할까요?
</p><p> <?php
define('_INDEX_', true);
include_once('./_common.php');</p><p>// 초기화면 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오.
if ($config['cf_include_index']) {
if (<a href="mailto:!@include_once($config['cf_include_index'">!@include_once($config['cf_include_index'</a>])) {
die('기본환경 설정에서 초기화면 파일 경로가 잘못 설정되어 있습니다.');
}
return; // 이 코드의 아래는 실행을 하지 않습니다.
}</p><p>// 루트 index를 쇼핑몰 index 설정했을 때
if(isset($default['de_root_index_use']) && $default['de_root_index_use']) {
require_once(G5_SHOP_PATH.'/index.php');
return;
}</p><p>if (G5_IS_MOBILE) {
include_once(G5_MOBILE_PATH.'/index.php');
return;
}</p><p>include_once('./_head.php');
?></p><p><div>
<?php echo display_banner('메인', 'mainbanner.10.skin.php'); ?>
</div>
<div style="float:left;margin-left:350px;text-align:left">
<div>
<img src="<?php echo G5_IMG_URL ?>/center_banner.jpg">
</div>
<div>
<h2 class="sound_only" style="text-align:center">최신글</h2>
<!-- 최신글 시작 { -->
<?php
// 최신글
$sql = " select bo_table
from `{$g5['board_table']}` a left join `{$g5['group_table']}` b on (a.gr_id=b.gr_id)
where a.bo_device <> 'mobile' ";
if(!$is_admin)
$sql .= " and a.bo_use_cert = '' ";
$sql .= " order by b.gr_order, a.bo_order ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
if ($i%2==1) $lt_style = "margin-left:20px";
else $lt_style = "";
?>
<div style="<?php echo $lt_style ?>">
<?php
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
// 사용방법 : latest(스킨, 게시판아이디, 출력라인, 글자수);
echo latest("basic", $row['bo_table'], 5, 25);
?>
</div>
<div style="text-align:center">
<img src="<?php echo G5_IMG_URL ?>/best_products.jpg">
</div>
</div>
<?php
}
?>
</div>
<!-- } 최신글 끝 --></p><p><?php
include_once('./_tail.php');
?></p><p>
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
채택된 답변
+20 포인트
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인전체 질문 목록
답변대기
채택
채택
채택
채택
채택
채택
답변대기
채택
채택
채택
답변대기
채택
채택
답변대기
채택
채택
채택
채택