开发者

Div container overflow

I have a div that seems to not be wrapping its inner content

http://c5.dealercontrol.net/inventory/p1

the div id="container" has a black bg and s开发者_如何学JAVAhould be wrapping the inner content how can I get it to show the style around all the inner content...


You need to put in a "clear" div or property in your html/css. The code you need is below and i have typed quick example as to where to place it.

<div style="clear:both"></div>

You would place this tag inside your container div, but after all of the inner contents.

<div id="container">
    <div id="col1"></div>
    <div id="col2"></div>
    <div style="clear:both"></div>
</div>

Hope it helps...


This may be unrelated, but it seems that <div id="sort-results"> is missing its closing tag.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜