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

Howdy, Stranger!

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

Categories

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

NickFNickF USAPosts: 132Member

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?

Tagged:

Comments

Sign In or Register to comment.