Grow your CSS skills. Land your dream job.

Collapsable Divs

  • # January 11, 2013 at 11:26 am

    What is the easiest way to make a parent DIV’s height change based on if a collapsable dive is expanded or not.

    # January 11, 2013 at 11:30 am

    @Maddtechwf, if you don’t set a height on the parent div, it will resize automatically, as long as it’s clearing the child element.

    # January 11, 2013 at 11:31 am

    Okay, thanks @ChrisP.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".