Brutto titolo a rischio chiusura thread, Help mee è errato si scrive help me!
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Documento senza titolo</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<style type="text/css">
.div-1 {
border: none;
margin-left: auto;
margin-right: auto;
text-align: left;
width: 58.56em;
}
.div-1-1 {
border: none;
clear: both;
float: left;
padding: 0px;
width: 58.56em;
}
.div-2 {
border: none;
text-align: left;
width: 58.56em;
}
.div-2-1 {
background-color: #ff0000;
border: none;
clear: both;
display: inline;
float: left;
line-height: 1.19em;
margin-left: 10px;
margin-top: 10px;
padding: 10px;
width: 56.06em;
border-radius: 10px;
-moz-border-radius: 10px; /* firefox */
-webkit-border-radius: 10px; /* safari, chrome */
}
.div-2-2 {
background-color: #ffff00;
border: none;
clear: both;
display: inline;
float: left;
line-height: 1.19em;
margin-left: 10px;
margin-top: 10px;
padding: 10px;
width: 10.06em;
border-radius: 10px;
-moz-border-radius: 10px; /* firefox */
-webkit-border-radius: 10px; /* safari, chrome */
}
.div-2-3 {
background-color: #999999;
border: none;
float: left;
line-height: 1.19em;
margin-left: 10px;
margin-top: 10px;
padding: 10px;
width: 44.13em;
border-radius: 10px;
-moz-border-radius: 10px; /* firefox */
-webkit-border-radius: 10px; /* safari, chrome */
}
.div-2-4 {
background-color: #008080;
border: none;
clear: both;
display: inline;
float: left;
line-height: 1.19em;
margin-left: 10px;
margin-top: 10px;
padding: 10px;
width: 56.06em;
border-radius: 10px;
-moz-border-radius: 10px; /* firefox */
-webkit-border-radius: 10px; /* safari, chrome */
}
</style>
</head>
<body>
<div class="div-1">
<div class="div-1-1">
<div class="div-2">
<div class="div-2-1">Intestazione</div>
<div class="div-2-2">Menu</div>
<div class="div-2-3">ContenutiColonna destra</div>
<div class="div-2-4">Footer</div>
<div style="clear: both;"></div>
</div>
</div>
<div style="clear: both;"></div>
</div>
</body>
</html>
Resta sottointeso che per IE ci vuole un'altro codice per i bordi arrotondati