묻고답하기

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 남기남
2년후 메인화면 게시판 안보이게 하려면 어떻게 해야하죠? [1] file 2010.01.26 by So_BLuE
유아원 쉬운설치가 전혀 동작하지 않습니다. [1] 2010.01.26 by 파파민
안경 쉬운설치가 작동하지를 않습니다. [1] 2010.01.26 by 파파민
도도한고양이 비밀번호를 잃어버렸는데요. [1] 2010.01.26 by Gekkou
명선809 게시판스킨 사용하면 글쓰기가 안되요..  
금초딩 독립된 html 페이지에서 위젯을 작동시키기 위한 최소한의 인클루드  
명선809 파스텔보드플러스 버전 - 3.1.5 스킨에서 글쓰기 누르면 글쓰기로 이동이 안되요.  
bonui 사랑비BGM 말고는 BGM 깔 수 없나요? [1] 2010.01.25 by 괴적인격
보라탱이 xe 설치하고 관리자 로그인하려는데 안되네요~ [1] 2010.01.25 by 2년후
김은비522 동영상을 메인페이지에 추출하고 싶은데요...  
젠이 FTP에 한글 이미지를 올려도 안 깨질까요? [1] 2010.01.25 by 2년후
괴적인격 글삭제 못하게 할수 있나요? [2] 2010.01.25 by 레디오빠
saiph 위키 게시판에서 계층 수정이 되지 않습니다. [1] 2010.01.25 by 백성찬
Eris 저는 게시판이 원래 깨진건줄 알았습니다. file  
은빛노을 홈페이지 메인을 이렇게 꾸미고싶은데 소스를 어떻게해야하나요? [1] file 2010.01.25 by 레디오빠
마나파이 XE 설치 경로  
유저랜드 이 페이지를 볼 수 있도록 승인되지 않았습니다 [1] 2010.01.25 by 레디오빠
제시카조아 게시물 올리는데 SQL 에러 팝업이 떠여 어떡하죠 file  
총총총끼싸 그누보드>제로보드 데이터 이전 한글꺠짐 [1] file 2010.01.25 by 백성찬
해모수829 제 홈에 여러 아이피가 계속 들어와요. [1] 2010.01.25 by 레디오빠