Take a look at this sample HTML code:
<div id="container" style="">
<div id="left" style="float: left; width: 200px;">...</div>
<div id="right" style="float: right; width: 100px;">...</div>
</div>
How can we prevent #right
from moving to a new line (below #left
) if the #container
is resized to less than 300px?