I have two divs, they look like this:
<div style="float:left;">blah</div>
<div>blah1</div>
In screen resolution x, these appear as planned like so:
blah blah1
However, in screen resolution less than x, these appear like so:
blah
blah1
This is a width error. How can I get my divs to adjust the width so this doesn’t happen? My widths are set as percents, not as fixed pixels lengths.
NOTE: If possible, I need a way to fix this with auto widths. The content changes per page, so I cannot set even percent widths…. Unless ABSOLUTELY necessary!!
Just set a margin on the second
div:…and it will fill all the extra space, every time.
The markup above looks like this: