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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -