Grow your CSS skills. Land your dream job.

height : auto problem

  • # January 1, 2010 at 7:59 am

    hey frnds i m gatting a very critical problelm… plz help me

    my html code is

    Code:

    and my css code is

    Code:
    .content{
    width:900px;
    height:auto;
    min-height:300px;
    margin:auto;
    background-color:#FFFFFF;
    }

    .left_img{
    height:248px;
    width:224px;
    padding-left:30px;
    padding-top:30px;
    float:left;
    }

    .cont{
    height:auto;
    min-height:200px;
    width:600px;
    float:left;
    margin-left:30px;
    margin-top:30px;
    background-color:#585858;
    }

    when my .cont class is gatting height above 200px;..
    mean more than my conter but my .contenr has only 200px minimum height….

    i want that my contenr is like liquid box i put more content and my contener get automaticly height…

    but in this condition my contenr has minimum height…

    # January 1, 2010 at 1:33 pm

    I’m not sure exactly what you are saying. A link to your page or an example would help.

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

You must be logged in to reply to this topic.

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