레이아웃 만들기 예시

from ASP 2013. 10. 22. 16:50

<head>

<link rel = "stylesheet" type="text/css" href="mystyle.css">

<title>This is the Test Page1.</title>

</head>


<body><div id="wrapper">

    <div id="banner"></div>

    <div id="menu"></div>

    <div id="left"></div>

    <div id="content"></div>

    <div id="foot"></div>

  </div>

</body>

#wrapper {width:624px; margin:auto; border:3px solid black;}

#banner {height:100px; background-color:red;}

#menu {height:60px; background-color:green;}

#left {width:180px; height:500px; float:left; background-color:blue;}

#content {width:444px; height:500px; float:left; background-color:yellow;}

#foot {height:30px; clear:both; background-color:purple;}


레이아웃 예)


,