Here is an example of what I have:
<div style="float: left; height: 20px; overflow-y: scroll">
<div>hello this is a test</div>
<div>hello this is another test</div>
<div>t1</div>
<div>t2</div>
<div>t3</div>
</div>
The parent div expands to fit the width of the largest child element, which is desirable. However, due to the vertical scrollbar, the inner width becomes smaller, causing the largest child element to wrap.
Is there a method to make the parent grow to the width of the largest child + the width of the scrollbar? I've tried various margin techniques, but none seem to work.