새로고침이나 메뉴클릭하면 한쪽을로 쏠렸다가
제목처럼 메뉴 클리하고 새페이지 열릴때
레이아웃이 한쪽으로 쏠렸다가 본래 위치로 오는데요
이유가 뭘까요.
기본틀 잡아주는 테이블 안에 DIV로 짰는데.
매번 그런게 아니라 쏠렷다가 안쏠렷다가 그러네요.
스타일 문제일까요
body{
margin:0;
padding:0;
overflow-x:auto;
overflow-y:scroll;
}
#header{
/* [disabled]background-color:#555; */
width:940px;
height:117px;
clear: both;
}
#header .header_wrap{
position:relative;
width:940px;
height:117px;
margin-top: 0;
margin-bottom: 0;
}
<table width="100%">
이런식이거든요
레이아웃이 한쪽으로 쏠렸다가 본래 위치로 오는데요
이유가 뭘까요.
기본틀 잡아주는 테이블 안에 DIV로 짰는데.
매번 그런게 아니라 쏠렷다가 안쏠렷다가 그러네요.
스타일 문제일까요
body{
margin:0;
padding:0;
overflow-x:auto;
overflow-y:scroll;
}
#header{
/* [disabled]background-color:#555; */
width:940px;
height:117px;
clear: both;
}
#header .header_wrap{
position:relative;
width:940px;
height:117px;
margin-top: 0;
margin-bottom: 0;
}
<table width="100%">
이런식이거든요
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 1개
자바스크립트 쪽을 확인해보시면 될듯합니다.