开发者

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 pu开发者_JAVA百科t 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


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜