I have the html set up below. Inside inner_container there can be content that can have a width of 500px to 50000px. How might I set up the style so that inner_container matches the exact width of the contents width?
<div id="main_container" class="main">
<div id="scrollable_container" style="overflow: scroll; width: 9000px; height: 700px">
<div class="inner_container" style="width: 12000px">
<!-- Content here can be any widths... from small to reall large -->
</div>
</div>
</div>