It looks like you're new here. If you want to get involved, click one of these buttons!
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?
Use a <span> and set the display: inline-block.