I have the following fiddle. It's essentially a
<div class="row-fluid">
<div class="sidebar">
</div>
</div>
I am just wondering why the row-fluid
doesn't adjust the height based on the sidebar
height? I can see the sidebar has a height of 1450px, so if all container div's by default adjust's to it's child div's size then it should also have a height of 1450px. If I check the height of the row-fluid, it stays at 0. How do I make this adjust accordingly?
将类.clearfix添加到行流体中它将起作用:)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.