I need to have a scrollable div inside a fieldset. My problem is that a fieldset expands to it's contents width instead of staying withing its parent.
<div class="section">
<fieldset>
<div class="list">
</div>
</fieldset>
</div>
http://jsfiddle.net/UziTech/tg5uk25L/
The two boxes should both have scrollbars on the bottom but the top one is in a fieldset so it won't control the overflow.
How do I get the fieldset to only be as wide as it's parent?