Hi
I would like my markup look like this demo bu I got wrong!!!
I will be grateful for your help
http://puu.sh/5tYXV.jpg
This is my php code.
<div id="container" style="text-align: center">
<header style="text-align: center">Header</header>
<nav>nav</nav>
<aside>aside</aside>
<section id="content">
section id="content"
<br>
<article >article</article>
<br>
<article>article</article>
<br>
<article>article</article>
<br>
</section>
<footer>footer</footer>
And this is my style code
#container
{
width: 340px;
height: 300px;
margin-left: auto;
margin-right: auto;
position: absolute;
}
header
{
width: 300%;
height: 20%;
background-color: #eefa0e;
}
nav
{
background-color: #fe5301;
float: left;
margin-top: 15px;
width: 30%;
height:300%;
text-align: center;
}
aside
{
background-color: #fe5301;
float: right;
margin-left: 40px;
width: 30%;
height:300%;
text-align: center;
}
#content
{
background-color: #a5c7a6;
float: right;
margin-top: 15px;
width: 80%;
height: 70%;
}
article
{
/*background-color:#bbf0ee;
text-align: center
margin-left: auto;
margin-right: auto;
width: 80%;
height: 20%;*/
margin: 10px;
width: 75%;
height: 20%;
position: relative;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px
}
footer
{
/*clear: both;
margin: 0;
padding: .5em;
border-top: 1px solid gray;
text-align:center;
clear: both;*/
clear: both;
position: relative;
z-index: 10;
height: 3em;
margin-top: -3em;
background-color: #d3b4c9;
width: 300%;
}