Collapsable Divs

  • TWG
    # 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

    This reply has been reported for inappropriate content.

    @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.

    TWG
    # January 11, 2013 at 11:31 am

    This reply has been reported for inappropriate content.

    Okay, thanks @ChrisP.

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

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed