I have a few divs to arrange but im stuck. It should look like this
Im working on it for a couple of hours and it wont get better. Here is the code i wrote so far. I thinks there is an easy solution for a pro.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
#wrapper {
width: 600px;
margin: 0 auto;
}
#content_3 {
float: left;
background: #bbb;
width: 200px;
}
#content_2 {
float: left;
width: 200px;
background: #aaa;
}
#content_4 {
float: right;
width: 200px;
background: #ddd;
}
#content_1 {
float:left;
width: 400px;
margin: 0 auto;
background: #eee;
}
</style>
</head>
<body>
<div id="wrapper">
<div>
<div id="content_1">content_1</div>
<div id="content_2">content_2</div>
<div id="content_3">content_3</div>
</div>
<div id="content_4">content_4</div>
</div>
</body>
</html>
Can someone help?
Both solution worked for me fine but the content of DIV 2 is increasing and so content 3 and 4 are moving down. How can i fix this? Conten_3 and 4 should stay right under content_1