Hello all,
I'm using innerHTML to add html content to a div on my site. I have
tabs along the top of a div that is outlined with a line. When a tab
is selected, html data is inserted into the div depending on what tab
it was. Data for some tabs has more height than others... is there a
way to make the div's height auto adjust to the html?
As a side note, I noticed that in one of my tabs I used a table in the
html and the div resized to the table height. Are there any other
containers (such as a span maybe) that DIVs will auto-resize for?
Thanks!