App Layout using divs

Standard layout using div

by nil

HTML

<div id="container">
    <div id="header">
        <div>icon</div>
        <div></div>
        <div>button</div>
    </div>
    <div id="navbar">nav</div>
    <div id="content-area"></div>
    <div id="footer">Copyright</div>
</div>

CSS

#container {
    height: 400px;
    width: 300px;
    border: 1px solid blue;
    padding: 10px;
    position: relative;
}
#content-area {
    background: grey;
    border: 1px solid grey;
    height: 75%;
}
#header {
    height: 50px;
    background: yellow;
    width: 100%;
    border: 1px solid grey;
}
#header div:first-child {
    float: left;
}
#header div:last-child {
    float: right;
}
#footer {
    text-align: center;
    position: fixed;
    bottom: 0;
    right: 10px;
    left: 10px;
    height: 30px;
    background: yellow;
    border: 1px solid grey;
    position: absolute;
}
#navbar {
    height: 20px;
    border: 1px solid green;
}