Grow your CSS skills. Land your dream job.

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

    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

    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.

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