Hi there.
I'm trying to get the layout shown in the attached picture, but I can't work it out. I've tried playing around with the clearing of floats but I can only ever seem to get boxes 2 and 3 to sit next to each other. Any pointers (and a possible explanation!) would be very much appreciated.
Code:
<style type="text/css">
div {
border: solid;
}
#container {
padding: 30px;
width: 800px;
overflow: auto;
}
#div1{
width: 300px;
height: 200px;
float: left;
}
#div2{
width: 300px;
height: 200px;
margin-top: 20px;
float: left;
clear: both;
}
#div3 {
float: right;
width: 100px;
height: 200px;
}
</style>
<div id="container">
<div id="div1">
1
</div>
<div id="div2">
2
</div>
<div id="div3">
3
</div>
</div>
Many thanks