Html – how to create a fullscreen website design

cssfullscreenhtml

What i am trying to achieve is something like this: http://www.svkariburnu.com/, i don't know if for this i should use only % in my css for my values or there is something more to it, what i want to do is to create for example a menu where the width is the same as the window,

i tried already using % for the elements and it worked but how can i know the exact percentage to set the remain values where i want them to be?

i looked and i found people who is using js to achieve this, is that necessary?

This is my code so far:

HTML:

<div id="wrapper">

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

<div id="menu">

<div id="buttom"></div>
<div id="buttom"></div>
<div id="buttom"></div>
<div id="buttom"></div>
<div id="buttom"></div>


</div>

<div id="iframe"></div>

</div>

CSS example:

 body{
        background:#f7f7f7 url(../images/pattern.png) repeat top left;
        color:#000;
        font-family:'Georgia', 'Trebuchet MS', serif;
        font-size:12px;
    }

    #wrapper{
        width:100%;
        height:900px;
        margin:auto;
    }

    #banner{
        width:100%;
        height:200px;
        float:left;
        background-color:#333
    }

    menu{
        width:100%;
        height:50px;
        float:left;
    }

    #buttom{
        width:20%;
        height:50px;
        float:left;
        background-color:#063;
    }

It worked but now for the iframe i dont know how to set it in the middle i don't want the iframe to be full width i need it to be at 80% having 10% at each side free, and so on, how can i manage that? is there a tutorial for this?

Thanks in advance!

Best Solution

Just use this, and whatever happens there will always be spacing at each side;

 #wrapper{
        width:100%;
        height:900px;
        margin:auto;
        padding:0 20px 0 20px;
    }