Innanzitutto grazie per la risposta.
In Realtà anche facendo in questo modo risultato è sbagliato (vd. allegato 1)
codice:
body,html
{
position: absolute;
top:0;
left:0;
margin: 0;
padding: 0;
background: black url('http://localhost/cvdanielesalvatore/public/images/sfondo.jpg');
background-size: 100% 100%;
width:100%;
height:100%;
border:none;
font-size: 100%;
}
#container
{
position: relative;
margin-top: 5%;
margin-right: 20%;
margin-bottom: 5%;
margin-left: 20%;
padding: 0;
width:60%;
height:90%;
background: red;
border:none;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
Per Essere Corretto (Vd Allegato 2)
Il Codice devo impostarlo così
codice:
#container
{
position: relative;
margin-top: 5%;
margin-right: 20%;
margin-bottom: 5%;
margin-left: 20%;
padding: 0;
width:60%;
height:80%;
background: red;
border:none;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
Quindi Riassumendo:
( 5 MT+0 PT+ 0 BT+0 BB + 0 PB + 5 MB ) + 80 W = 100
E Continuo a non capire