Ciao! ecco il codice:
Css:
codice:
body { font-size: 62.5% } /* set 1em to 10px */
#layout { margin: 0 auto; text-align: left; }
.fixed760 { width: 76em; }
/* Header and Footer*/
#header, #footer { width: 100%; }
div#header{background-color:#B40001;color: #fff; width:100%; height:150px;background-repeat: no-repeat;}
div#footer{clear:left; text-align:center; padding: 0.5em;
background-color: #B40001; color: #fff}
#content:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
#content {display: inline-block;}
div#content{margin-right: 13em;padding: 1em; background-color:#fff}
/* Sidebar Control */
.left-sidebar-wide180 #sidebar { float: left; width: 18em; }
div#sidebar ul{margin: 1em 0 1em 1em;padding: 0; list-style-type: none;}
div#sidebar li{margin: 0;padding: 0}
div#sidebar a{color:#B40001;font: normal bold 1.2em/1.6em arial,sans-serif;text-decoration: none}
div#sidebar a:hover{color: #000000;text-decoration: underline}
div#sidebar a#activelink{color: #000000;text-decoration: none}
#main { float:left; text-align:justify; color:#000000 }
#newsletter { text-align:center; color:#B40001 }
#testo { text-align:justify; color:#000000 }
#testo2 { clear:left; text-align:center; color:#000000 }
xHtml (Schema):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="layoutizzatore.css" />
</head>
<body>
<div id="layout" class="fixed760">
<div id="header">
</div>
<div id="content" class="left-sidebar-wide180">
<div id="sidebar"></div>
<div id="main"></div>
</div>
<div id="footer"></div>
</div>
</body>
</html>
Grazie