Wednesday, October 26, 2011

css layout

INDEX


<html>


<head>


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


</head>


<body>
<div class="warp">
<div class="header">
</div>




<div class="menu">
</div>



<div class="big">


<div class="one">
</div>


<div class="two">
</div>


</div>




<div class="adv">
</div>




<div class="fotter">
</div>








</div>
</body>
</html>




STYLE



body
{
   background-color:black;     
}
.warp
{
        width:1004px;
margin:auto;
}
.header
{
         width:1000px;
         height:100px;
         background-color:red;
}
.menu
{
         float:left;   
          width:200px;
         height:500px;
         background-color:blue;


}
.big
{
          float:left;        
          width:590px;
          height:500px;
          background-color:green;
}
.one,two
{
 float:left;        
          width:590px;
          height:250px;
          background-color:gray;
         


}
.adv
{
          float:right;        
          width:200px;
          height:500px;
          background-color:pink;
}
.fotter
{
          float:left;
          width:1000px;
          height:100px;
          background-color:red;
}

         

Sunday, October 23, 2011

colum 1


CODE
<html>
<body>

<div id="header" style="background-color:blue;height:100px;width:1000px">
<h1 style="margin-botton:0">web page<h1>
<div>


</body>
</html>
                     file:///C:/Documents%20and%20Settings/Administrator/Desktop/www.html