레이아웃 질문... 정보
레이아웃 질문...본문
댓글 전체
이런걸 말씀하시는 건가용?
<html>
<head>
<title> New Document </title>
<style type="text/css">
body{margin:0px; padding:0px; width:100%; height:100%; text-align:center; background:#08ffab;}
.wrap{width:700px; margin:0 auto; padding:85px 0px 85px 0px;}
.header{width:100%; height:85px; background:#ff0000;}
.contents{width:100%; height:520px; background:white;}
.footer{width:100%; height:85px; background:#085fff;}
</style>
</head>
<body>
<div class='wrap'>
<div class='header'>상단내용</div>
<div class='contents'>그누보드</div>
<div class='footer'>하단내용</div>
</div>
</body>
</html>
답변 정말감사합니다..
그런데 가운데부분 그누보드는 어떻게 넣어야할까요... ㅜㅜ
그런데 가운데부분 그누보드는 어떻게 넣어야할까요... ㅜㅜ
style.css 에 삽입
head.php 에 삽입
tail.php 에 삽입
각 게시판 관리자에서는
상단파일 부분에 ../head.php
하단파일 부분에 ../tail.php
이렇게 넣어주시면 상단 하단 불러올거구요^^
body{margin:0px; padding:0px; width:100%; height:100%; text-align:center; background:#08ffab;}
.wrap{width:700px; margin:0 auto; padding:85px 0px 85px 0px;}
.header{width:100%; height:85px; background:#ff0000;}
.contents{width:100%; height:520px; background:white;}
.footer{width:100%; height:85px; background:#085fff;}
head.php 에 삽입
<div class='wrap'>
<div class='header'>상단내용</div>
<div class='contents'>
tail.php 에 삽입
</div>
</div>
각 게시판 관리자에서는
상단파일 부분에 ../head.php
하단파일 부분에 ../tail.php
이렇게 넣어주시면 상단 하단 불러올거구요^^
웹사이팅 답변 정말 감사합니다. 한가지더 질문하자면 게시판의 테이블 폭을 45정도로 줄였는데 게시판은 줄여진반면 상단의 내용은 화면의 맨왼쪽으로 가있네요 게시판의 테이블이 줄어드는 만큼 상단의 내용도 같이 줄어드는 방법좀 알수있을까요?