I am having an issue where I have a table in a div... When the table grows longer than the div the div does not expand in FF... works fine in IE - what do I need to do to have the div expand with the table?
You have a 75% height on the container, so I'd assume that it restricting the visible height you can see of the table. If you always want to expand the height to show 100% of the table, then why specify a height for it's container?
That is meant to give it a minimum height... when I take the height out - then it has not height - which I think goes back to the same problem... I want the stuff in the container div to give it its height...
taking out the float in content had no affect (as you said...) putting overflow:auto did nothing in FF and in IE it kept the height at 75% and put in scrollbars (before it was expanding the div to fit...)
I found a solution - my code was fine (still did not need the float:left) but my doctype declaration was wrong... I corrected that to transitional and it is fine in both...
If what you showed us is your entire code, then there's actually no need for the .content div at all. It seems that you have changed from a valid doctype to an invalid one, because rendering usually does not change between two different valid doctypes.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.