I have a div main that has a table grid. This table has your rows added dynamically. So, the problem is, when i add a row to the table grid the height of the table grows up, but the height of the div main no. Thus the table is staying in front of the footer content. What i have to add in css or in html to enforce the height of the div main grows up with the height of th table grid?
The code and the behavior: http://jsfiddle.net/BBcsB/8/
The problem is in the fieldset here:
fieldset
{
border: 1px solid #DDDDDD;
padding: 0px 20px 5px 10px;
margin: 0 0 1.5em 0;
display: inline-block;
}
So, when i remove the display: inline-block; works fine, but the fieldset is large, taking the entire div width and height. How can i solve the problem and stay with the fieldset surrounding the elements inside it?
Solved!
I put
mainandfooterdivs tofloat: leftandwidth: 100%andfieldsettofloat: lefttoo, and remove thedisplay: inline-blockoffieldset.Here: http://jsfiddle.net/BBcsB/9/