javascript - Main div not scaling properly with dynamic content -
i have html table thats inside div inside div.
<div id='mainholder'> <div id='primarycontent'> <table>moar content</table> </div> <div id='secondarycontent'></div> </div>
the problem have right 'mainholder' not scale when dynamically add content in table. 'primarycontent' div scale properly.
here link complete solution. here
thanks reply :)
demo: http://jsfiddle.net/g2msh/6/
.container:after { clear:both; content: "."; display:block; height: 0; visibility: hidden; }
Comments
Post a Comment