How to make the width of a div same as its child contents?

I have a table inside a div. I need to make the div increase its width only when the table width increases. Can someone please explain how to achieve this?

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories