andeersg
andeersg

Reputation: 1615

Html div won't expand when a table gets bigger

I have a problem with my layout, i use javascript to get a xml-file and put it into a table. But the the table jumps out of the divs. I can't think of anything i'm doing wrong. Anyone see the problem?

http://andeers.com/testsite

Upvotes: 1

Views: 756

Answers (2)

Phil Hale
Phil Hale

Reputation: 3491

It looks like there is nothing constraining the height of the div which you will need for the overflow to work. I suggest setting a height some height values in the css, either on the div containing the table or on a parent element.

Upvotes: 0

Sotiris
Sotiris

Reputation: 40076

probably you have to clear the floats. add overflow:hidden for the #content selector in your css

Upvotes: 3

Related Questions