초보적인질문인데요..
보단
ㅠㅠ 초보적인 질문하나만 여쭐게요
제가 만들고있는 레이아웃 인데 보시다시피 body에 칼라#333가 들어가있구,wrap부분을 #FFF 로 두었습니다. 그리고나서 결과물을 보니 wrap 상단에 body칼라가 들어가있더라구요.그리고 후에 헤드작업을 하는데 마진을 넣으면 바디값이 그 마진값 만큼 보이구요. ㅠㅠ결과물은 wrap부분 자체가 다 화이트여야하거든요.. 제가 뭐가 틀린건가요 님들..?마진값은 바깥여백을 뜻하는거지만, 헤드에서 할경우는 그 바깥여백이라 할수있는부분이wrap_sub아닌가요..?잘못된부분 좀 가르쳐주세요~~ ^*^밑에는 현재 잘못출력되는 소스입니다.headstyle type=text/css #wrap {margin:0 auto; width:880px; height:1090px; background-color:#FFF;} #wrap_sub {margin:0 auto; width:870px;} #head {height:51px; margin-top:23px; margin-bottom:6px; border:1px solid red;}
#center{height:918px;} #footer{height:45px; margin-bottom:5px; }
h1 {display:none;} body{background-color:#333;} li { list-style-type:none;}/style/headbody div id=wrap div id=wrap_sub div id=head h1헤드/h1 /div
div id=center h1센터/h1 /div
div id=footer h1푸터/h1 /div /div /div/body