I have a website you can find here, when expanding one of the list items, I can't figure out why the the entire height of the page isn't being modified (footer doesn't move with list expansion). Any ideas? thanks in advance
相关问题
- Views base64 encoded blob in HTML with PHP
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
The
#inside
div has anheight
property set. If you remove it, you'll get the behaviour you want.Edit
It seems you're setting the
height
property via javascript in order to animate the div'sheight
.In this case, after animation's been completed, you could set the
height
toauto
, so the#inside
div will respect its children'sheight
and expand correctly.One of your divs has a manual style on it:
Remove / disable that and your page container resizes accordingly :)