<div id="container" style="width:900px">
<div id="wrapper1" style="width:200px;float:left">
<img src="./profilepic.jpg" width="190px" height="220px"/>
</div>
<div id="wrapper2" style="width:400px;float:left">
<h2>cool</h2>
</div>
<div id="wrapper3" style="width:300px;float:left">
<h2>Thanks</h2>
</div>
</div>
Here we have three wrappers inside a container with a total width of 900px. However, sometimes the third wrapper is positioned below the second one. The goal is to have wrapper1 take up 200px, wrapper2 take up 400px, and wrapper3 take up 300px, totaling 900px.
How can we ensure that these wrappers float next to each other in a way that they occupy a total width of 900px?