엄청나게 많이 사용되고있는 인덱스 레이아웃소스 간단한 Div로.. 정보
엄청나게 많이 사용되고있는 인덱스 레이아웃소스 간단한 Div로..본문
<font color="white"><div style="background:red; width:990px; height:120px;"><center>해드부분입니다.</center></div>
<div style="float:left; width:220px; background:yellow; height:500px;"><center>왼쪽</center></div>
<div style="float:left; width:550px; background:orange; height:500px;"><center>중앙</center></div>
<div style="float:left; width:220px; background:green; height:500px;"><center>오른쪽</center></div>
<div style="background:blue; width:990px; height:80px;"><center>하단</center></div></font>
<div style="float:left; width:220px; background:yellow; height:500px;"><center>왼쪽</center></div>
<div style="float:left; width:550px; background:orange; height:500px;"><center>중앙</center></div>
<div style="float:left; width:220px; background:green; height:500px;"><center>오른쪽</center></div>
<div style="background:blue; width:990px; height:80px;"><center>하단</center></div></font>
추천
0
0
댓글 2개
Div 소스 이해할려고할때 가장 입문이 쉬운 소스라고 생각되네요.
css 로. 만든다음에
id로 값을 불러와서쓰는방법도 있습니다. 그경우에 소스가 더욱짧아지고 로딩속도도 빨라지겟지요
css 로. 만든다음에
id로 값을 불러와서쓰는방법도 있습니다. 그경우에 소스가 더욱짧아지고 로딩속도도 빨라지겟지요

이런 식으로 중앙+좌우배열의 경우에는 좌측에 딱 붙는 레이아웃보다는
브라우저의 크기에 따라 자동으로 가로 길이가 변경되는 레이아웃이 좋습니다.
브라우저의 크기에 따라 자동으로 가로 길이가 변경되는 레이아웃이 좋습니다.