묻고답하기

css의 레이아웃속성은 이렇습니다.

 

body { background:#f7f7f7; }
p { margin-bottom:10px; line-height:140%; text-align:justify; }
p a {  }
a, a:visited { text-decoration: none; }
a:hover { text-decoration:none; }

#container_site { margin:0 auto; }
#header { background:#cacaca; color:#666; }
#container_body {  }
#container_contents { background:#fff; text-align:justify; line-height:140%; overflow:hidden; }
#container_contents .wrapper { overflow:hidden; }
#container_contents .wrapperTrans { overflow:hidden; }

#e1 { background:#cacaca; color:#666; overflow:hidden; }
#e1 .wrapper {  }

#e2 { background:#cacaca; color:#666; overflow:hidden; }
#e2 .wrapper {  }

#footer { background:#cacaca; color:#666; overflow:hidden; }
#footer_box1 { width:150px; margin-right:20px; float:left; overflow:hidden; }
#footer_box2 { width:150px; margin-right:20px; float:left; overflow:hidden; }
#footer_box3 { width:150px; margin-right:20px; float:right; overflow:hidden; }
#footer_sub { background:#cacaca; color:#666; clear:both; }

 

 

 

그리고 레이아웃의 소스는

 

 

<!--// 레이아웃과 연동될 css 파일 import -->
<!--%import("css/default.css")-->


<!--@if($layout_info->background_image)-->
<style type="text/css">
    body { background:url({$layout_info->background_image}); }
</style>
<!--@end-->


<div id="container_site"
<!--@if($layout_info->container_site_width)-->
    style="width:{$layout_info->container_site_width};"
<!--@else-->
    style="width:800px;"
<!--@end-->
>
   
   
    <div id="header">
        헤더
    </div><!--header 끝-->
   
    <div id="container_body" class="{$layout_info->layout_type}">

        <!--@if($layout_info->layout_type != "c")--><!--위젯 출력 조건부 시작-->
             
        <div id="e1" 
        <!--@if($layout_info->wid1_width)-->
            style="width:{$layout_info->wid1_width};"
        <!--@else-->
            style="width:150px; height:100%"
        <!--@end-->
        >
       
            <div class="wrapper">
                위젯 1이 위치하는 영역
            </div>
       
        </div><!--e1 끝-->
       


        <!--@if($layout_info->layout_type == "eec" || $layout_info->layout_type == "cee" || $layout_info->layout_type == "ece")-->
        <div id="e2" 
        <!--@if($layout_info->wid2_width)-->
            style="width:{$layout_info->wid2_width};"
        <!--@else-->
            style="width:150px;"
        <!--@end-->
        >
       
            <div class="wrapper">
                위젯 2가 위치하는 영역
            </div>
       
        </div><!--e2 끝-->
        <!--@end-->
       
        <!--@end--><!--위젯 출력 조건부 끝-->
       
       
       
        <div id="container_contents">          
            <!--@if($layout_info->container_contents_style == "useBackground")-->   
            <div class="wrapper">
                {$content}
            </div>
           
            <!--@else-->           
            <div class="wrapperTrans">
                {$content}

            </div>
            <!--@end--><!--container_contents 배경선택부 끝-->

        </div><!--container_contens 끝-->
       
    </div><!--container_body 끝-->
   
   
   
    <div id="footer">
   
        <div id="footer_box1">
            추가위젯 영역 1
        </div>
       
        <div id="footer_box2">
            추가위젯 영역 2
        </div>
       
        <div id="footer_box3">
            추가위젯 영역 3
        </div>
       
    </div><!--footer 끝 -->
   
   
    <div id="footer_sub">
        푸터 서브메뉴
    </div><!--footer_sub 끝-->
   
   
</div><!--container_site 끝-->

 

이렇습니다. 이 소스보시면 어디서 보신분은 알겠지만 pxe님의 기초레이아웃입니다.

 

이 기초레이아웃에서 위젯1부분(id:e1) 부분이 height:100%가 안됩니다.

아무리 줘도 늘어나지않는군요.

 

어떻게하면 100%를 줄수있을까요? widht는 잘늘어나던데.. 답답합니다

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
글쓴이 캐나다 알버타주에서 제로보드 쓸려면 어떻게 해야되나요? [3] 2009.11.17 by 유샤인
MazeHz 1.0.5버전에서 최신버전인 1.3버전으로 버전업하려고 하는데요..... [2] 2009.11.17 by Gekkou
크리스web 1.2.3에서 1.3으로 업그레이드 하려구요~ [1] 2009.11.17 by Gekkou
맥님 이미지로 된 로그인 버튼을 텍스트로 바꾸고 싶어요  
얼빵이♡ 무조건 저장이 BMP로 되요-_- [4] 2009.11.17 by 향긋
박순동 다국어 사이트 제작시 영어 페이지 연결방법 좀 알려 주세요 [1] file 2009.11.17 by 백성찬
MaN™ xe와 zb4를 혼용해서 쓸수는 없는건가요??? [1] 2009.11.17 by 박순동
멀티한 게시판생성은 어디에서 하나요 [1] 2009.11.17 by 백성찬
지우529 회원 탈퇴, 삭제는 어떻게 되는건가요? [1] 2009.11.17 by 백성찬
정혜영ㅁㄴㅇㄻㄹㅇㄴ 동영상 게시판 및 음성파일 게시판 스킨 견적문의 [1] 2009.11.17 by 백성찬
실이다 동영상 재생이 안되요  
redrum 게시판 목록에 회원 명단 출력후, 각 회원의 로긴 상태 표시를 어떻게 구현해야할까요?  
메디안 관리자페이지에서요 [1] 2009.11.17 by 백성찬
지식창고★ 서버 이전 오류요 [1] file 2009.11.17 by 백성찬
초보임돠 도메인 변경후 에러 없애는 방법좀 알려주세요~ [1] 2009.11.17 by lattente
아모란 ''탭형 최근 문서'' 위젯 문의 드립니다. file  
noksaek 관리자 로그인 문제  
김서원 게시판에 파일 첨부시 에러가 납니다. [1] file 2009.11.17 by 백성찬
콕크[+] 글 작성 후 관리자 메일로 전송시 확장변수 출력 방법  
리사땅 불여우에서 글쓰기 할 때 붙임 파일을 copy & paste할 때 경로가 이상해집니다 [1] file 2009.11.17 by 리사땅
김성규938 파일업로드시 `권한이 없습니다` 문제  
로꾸루톰 게시판 크기 조절 [1] 2009.11.17 by DuRi
듀냥 기초적인 질문입니다. [2] 2009.11.17 by DuRi
JR.MSN 서버이전을 하려고 합니다. [1] 2009.11.17 by DuRi
박준영340 레이아웃 문의드려요~^^ [1] 2009.11.17 by DuRi
三乭 동영상강좌 어디가면 볼수 있는지 [1] file 2009.11.17 by DuRi
Ruzin div의 height에 대한 질문드립니다 [1] 2009.11.17 by Ruzin
미디맨 확장변수가 4개이상 입력이 안됩니다 [1] 2009.11.17 by 미디맨
실루에토 홈페이지 도메인 변경후 문제 [1] 2009.11.17 by DuRi
mg2000 관리자 로그인이 안됩니다. [1] 2009.11.17 by 백성찬