WebApp/CSS2010. 5. 29. 12:34
body {
position: relative;
width: 1000px;
left: 50%;
margin: 0 0 0 -500px;
}

또는

body {
position: relative;
width: 1000px;
margin: 0 auto;
}
눈으로도 보이시겠지만 아래 소스가 더 간단합니다. ^-^


작동여부
IE6 IE7 IE8 Firefox3.6 Google Chrome5 Safari4 
미실험 미실험 O O O O

실제 화면

'WebApp > CSS' 카테고리의 다른 글

PNG FIX  (0) 2010.09.27
CSS 초기화  (1) 2010.05.30
Posted by 마이클