tail 수정 조언부탁드립니다.
본문
tail 부분의 가로너비를 화면에 꽉차게 width 를 100%로 만들고 싶은데
css를 아무리 수정해도 width 가 100%로 보여지지 않습니다.
이 부분 혹시 도움주실분 계신가요
어느 파일 + 어느부분을 수정하면 되는지 조언부탁드립니다.
꾸벅
답변 2
그누보드 기본 구조를 아셔야 합니다.
head.php 는 헤드와 메인
tail.php 는 메인과 헤드
이렇게 엮여 있습니다.
head.php 에서 기본 페이지 크기를 크게 해야 tail 쪽도 늘어납니다.
그게 싫으시면 tail 부분을 지우시고
제일 하단에 div 만드셔서 width 100% 주시면됩니다.
tai.php 파일에 이런식으로 넣어서수정해보세요
<!-- } 콘텐츠 끝 -->
<hr>
<style>
#wrap_t{height:200px;margin:0;}
#wrap_t .inner{
width:100%;
position:absolute;
margin:0 auto 10px;
padding:20px 0 20px 0;
background:#edf0e5;
}
#wrap_t .inner .c {
/*width:1100px;*/width:100%;
margin:0 auto;
background:#fff;
}
</style>
<div id="wrap_t">
<div class="inner">
<div class="c">
<!-- 하단 시작 { -->
<div id="ft">
소스
소스
소스
</div>
<!-- } 하단 끝 -->
</div>
</div>
</div>
그리고 css폴더 default.css 파일의 tail관련된 css부분을 수정하세요.
/* 하단 레이아웃 */
#ft {min-width:100%;margin:20px 0;.....}
.
.
.
.