Using css: Make CSS Div Width Equal To Contents on newest questions tagged css – Stack Overflow

I have a layout similar to:

<div>
    <table>
    </table>
</div>

I would like for the Div element to only expand to as wide as my table element becomes.

Any suggestions?

Thanks!

See Answers


source: http://stackoverflow.com/questions/450903/make-css-div-width-equal-to-contents
Using css: using-css



online applications demo