묻고답하기

그동안 Table로만 작업했었는데 Div태그를 이용한 레이아웃을 구성할려니 정말 힘드네요. ㅠㅠ
어떻게 겨우 겨우 레이아웃은 잡았는데 배경이 늘어 나질 않아 이렇게 질문을 올려 봅니다.

* 아래는 Table 작업으로 Content 좌우 배경이 모두 늘어나면서 정상적으로 출력 되는 모습니다.




*아래는 Div 태그를 이용한 레이아웃이나 Contents의 좌우 배경이 이빨 빠진것 처럼 잘린 모습니다.
보라색 실선은 실제로 구성된 레이아웃 이구요.


아래는 layout.html 소스 입니다.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>KR ZombieX2 Community</title>
<link rel="stylesheet" href="css/default.css" type="text/css" />
<style type="text/css">
</style></head>
<body>
<div id="bodyWrap">
  <div id="topbg">
   <div id="top">
    <div id="topLeft"></div>
    <div id="topmain"></div>
    <div id="topRight"></div>
   </div>
  </div>

  <div id="mainbg">
   <div id="main">
    <div id="mainLeft"></div>
    <div id="content">{$content}<br>1<br>2<br>3<br>4<Br></div>
    <div id="mainRight"></div>
   </div>
  </div>

  <div id="footerbg">
   <div id="footer">
    <div id="footerLeft"></div>
    <div id="footermain"></div>
    <div id="footerRight"></div>
   </div>
  </div>

</div>
</body>
</html>


아래는 default.css 소스 입니다.

@charset "utf-8";
body {  margin: 0 0 0 0; background: url(../images/krzombiex2_mainbg.jpg) ; }
#bodyWrap { width:100%; height:100%; margin: 0 auto 0 auto; left top; }

#topbg { width: 100%; height: 274px; background: url(../images/krzombiex2_topbg.jpg) repeat-x;  }
#top { width: 1050px; height: 274px; margin: 0 auto 0 auto; }
#topLeft {  float: left;  width: 77px;  height: 274px; background: url(../images/krzombiex2_topleft.jpg) ;  }
#topmain {  float: left;  width: 896px; height: 274px; background: url(../images/krzombiex2_top.jpg) ; }
#topRight { float: right;  width: 77px; height: 274px; background: url(../images/krzombiex2_topright.jpg) ; }

#mainbg { width: 100%; height: 100%; background: url(../images/krzombiex2_mainbg.jpg) repeat-x; }
#main {  width: 1050px; height: 100%;  margin: 0 auto 0 auto;  }
#mainLeft {  float: left;  width: 77px; height: 100%;  background: url(../images/krzombiex2_mainleft.jpg) repeat-y; overflow:hidden;  }
#content {   float: left;  width: 896px; background:#ffffff ; }
#mainRight { float: right; width: 77px;  height: 100%; background: url(../images/krzombiex2_mainright.jpg) repeat-y; overflow:hidden; }


#footerbg { width: 100%; height: 64px; background: url(../images/krzombiex2_footerbg.jpg) repeat-x; }
#footer { width: 1050px; height: 64px; margin: 0 auto 0 auto; }
#footerLeft {  float: left;  width: 77px;  height: 64px; background: url(../images/krzombiex2_footerleft.jpg) ;  }
#footermain {  float: left;  width: 896px; height: 64px; background: url(../images/krzombiex2_footer.jpg) repeat-x ; }
#footerRight { float: right; width: 77px;  height: 64px; background: url(../images/krzombiex2_footerright.jpg) ; }


답변 부탁 드리겠습니다.

태그 연관 글
  1. [2021/02/26] 묻고답하기 외부페이지가 레이아웃을 완전히 벗어나 표시됩니다. by 오뎅궁물 *1
  2. [2020/01/02] 묻고답하기 레이아웃 헤더스크립트 삽입시 응답없음 by 검은새 *2
  3. [2018/10/25] 묻고답하기 사이트 레이아웃이 없어 졌어요!! by 김옥철 *1
  4. [2016/07/27] 묻고답하기 페이지이동 스크립트 문의드려요.+ 홈페이지 꾸미는 문의 by 꿈꾸는나무
  5. [2016/05/24] 묻고답하기 레이아웃 지정에서 로그인, 회원 가입 페이지는 어디서 지정하나요? by 해피지영 *2
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
달화랑 신디케이션 연동 관련 질문입니다. 도와주세요.ㅠㅠ  
skySongHN 웹페이지 오류관련하여 질문 드립니다ㅠㅠ [4] 2017.08.31 by skySongHN
sunnycom XE / 비정상적인 파일개수 증가 / 캐시파일문제인가요? [1] 2017.10.01 by sunnycom
freax hayseed.kr 메인 슬라이더,CAROUSEL 똑같은 위젯이나 소스,코드 알려주세요요 [5] 2017.10.02 by DoorWeb
deok 그누보드5 -> XE로 데이터(db)이전 [5] 2017.10.24 by 카이4525b
햄슈터 Cafe24 데이터 백업 및 이전방법 [1] 2017.10.30 by 우주학개론
michinPark 크롬 Incognito 접속시 사이트잠김 오류 [2] 2017.11.21 by michinPark
버엄 모듈 이름은 영문+[영문+숫자+_] 만 가능합니다' 이후 에러 문제 [2] file 2018.02.01 by 칼로리제로
개구리 레이아웃 테이블 여백(공백) 문제 file  
MCFR html 홈페이지 작성중 이미지 표기 오류가 생깁니다. [2] 2018.03.07 by MCFR
백인흑인황인 board.controller 파일 이메일 폼 수정에 관하여 [2] 2018.03.08 by 백인흑인황인
shoo**** 서치콘솔에서 사이트맵 삭제  
블맨 라즈베리파이 라즈비안에 XE설치  
PLS 마켓플레이스 본문 수정 및 글 삭제 방법  
diomin $oMail->setSender Sender 이메일 발신자가 공백으로 나옵니다. [3] file 2018.07.13 by diomin
diomin 첨부한 파일 링크 텍스트로 추출하는 방법은 무엇인가요? [2] 2018.07.16 by diomin
누들그라탕 디자인 변경방법 [2] file 2018.10.12 by forest535
zero 회원가입시나 수정시 닉네임/ID /E-mail 은 중복체크를 하자나요 . 이름도 가능할까요? [83] [1] file 2020.03.14 by pcdond
김옥철 사이트 레이아웃이 없어 졌어요!! [1] file 2018.10.25 by 너에게제공
수피아소년 외부 페이지 다국어 설정방법 또는? [2] 2018.10.27 by 바람처럼2575d