Hi,
i have 4 div and I want to do so:
http://img15.imageshack.us/img15/2514/divd.png
But i have trouble whit right div. It is below the second div.
<html>
<head>
<style type="text/css">
body {
margin:0;
margin-top: 0;
margin-bottom: 0;
text-align: center;
}
div.all{
width: 600px;
background-color: #5292d9;
}
div.left{
float: left;
width: 60px;
height: 500px;
background-color:#00ff00;
}
div.top{
float: left;
width: 460px;
height: 100px;
background-color:#223366;
}
div.center{
float: left;
width: 460px;
height: 400px;
background-color:#123d34;
}
div.right{
float: left;
width: 80px;
height: 500px;
background-color:#336699;
}
</style>
</head>
<body>
<div class = "all">
<div class = "left">1</div>
<div class = "top">2</div>
<div class = "center">3</div>
<div class = "right">4</div>
</div>
</body>
</html>