eccolo:
sinistra e centro sono ben allineati, mentre il div di destra sta più sotto
codice:
<html>
<head>
<style type="text/css">
body{
background-color: black;
}
#main{
width: 600px;
height: 400px;
margin: auto;
background-color: white;
}
#sx{
float: left;
background-color: red;
height: 100%;
width: 20%;
}
#dx{
float: right;
background-color: red;
height: 100%;
width: 20%;
}
#centro{
background-color: yellow;
height: 100%;
width: 40%;
}
</style>
</head>
<body>
<div id="main">
<div id="sx">
</div>
<div id="centro">
</div>
<div id="dx">
</div>
</div>
</body>
</html>