The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

a question about layout

  • # August 23, 2009 at 3:41 pm

    hey i want that suppose if i have a div and it has data which is overshooting it dimensions and is flowing out….i want that under such situation div automatically increase it height to adjust the overflow with the width remaining fixed….how to achieve this?

    # August 23, 2009 at 4:34 pm

    This reply has been reported for inappropriate content.

    you could try using overflow: auto on the div or overflow: scroll

    # August 24, 2009 at 4:11 am

    if i am not wrong auto provide scroll type functionality…..but i want to adjust the heigth of box atumatically without srolls

    # August 24, 2009 at 10:26 am

    This reply has been reported for inappropriate content.

    well if you don’t give the div a height setting, it should adjust to fit whatever you put in it.

Viewing 4 posts - 1 through 4 (of 4 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