The question sounds complex but here is HTML that illustrates it:
<div id="contained" style="overflow: hidden">
<div id="float-right" style="float: right; width: 100px">floated-right</div>
<div id="float-left" style="float: left; width: 200px">floated-left</div>
<div style="clear: both"></div>
</div>
If I resize #contained
to less than 300px
then #float-left
jumps below it and is no longer visible.
Question is: How do I prevent #float-left
from disappearing if I resize #contained
to less than 300px
? How do I make #float-right
and #float-left
"stick together" if #contained
is less than 300px
?