Innanzitutto non devi usare <center></center>... Le formattazioni dalla dal CSS
copiati questo è l'html :
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>
Villa Veientana
</title>
<link rel="stylesheet" type="text/css" href="style.css">
<meta name="generator" content="Namo WebEditor v6.0">
</head>
<body>
<div id="container">
<div id="header">
<h1>Villa Veientana</h1>
</div>
<div id="menu">
<ul>
[*]Lavilla
[*]Eventi
[*]Locations
[*]Gallery
[*]Servizi
[*]Contatti
[/list]
</div>
<div id="contenuto">
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
contenuto</p>
</div>
<div id="foto">
prova</p>
</div>
</div>
</body>
</html>
e questo il css:
codice:
body{
text-align:left;
background: #ccc;
}
#container{
background: #cac;
margin: 0 auto;
width: 800px;
height: auto !important;
}
#header{
background: #aab;
width: 800px;
height: 200px;
color: #fff;
text-align: center;
}
#menu{
float: left;
background: red;
width: 300px;
height: auto !important;
text-align: center;
}
ul{
list-style-type: none;
}
#contenuto{
float: right;
background: #aa0;
width: 500px;
height: auto !important;
text-align: center;
}
#foto{
clear: both;
background: yellow;
width: 800px;
height: auto !important;
text-align: center;
}