How to maintain the height of all the columns using div ?

hello friend's
I need some help from css experts.
Actually i want to create a dynamic 3 column page whose middle column varies according to the content in them.But the problem is that i am not able to maintain the height of all the columns.
It's a simple thing to do by using table but i want to do it using div.
Any idea how this can be done ?

Replies

  • synergynext
    synergynext
    big deal
    wondering why this thread got un-noticed!
  • synergynext
    synergynext
    use this, combine with other stuff like color, background color etc
    all 3 columns come within 1 container
    #container1 {
    float:left;
    width:100%;
    }
    #col1 {
    float:left;
    width:30%; 
    }
    #col2 {
    float:left;
    width:40%; 
    }
    #col3 {
    float:left;
    width:30%;
    }
    
  • The_Small_k
    The_Small_k
    Yeh i have fixed this issue....i forget to add flot there !!
  • PraveenKumar Purushothaman
    PraveenKumar Purushothaman
    And don't forget to clear it using clear: both... 😀

You are reading an archived discussion.

Related Posts

can any one help to write a java code using patterns for the below project i'm not able to start the project plzzz help me you will have to simulate...
i am trying to write and read a simple program using these codes. writing code seems to work fine,it prompts for data and after it terminates properly.but the reading code...
When exactly should we replace the bearings of vehicle wheels? How to know whether bearings are to be replaced? What exactly/How exactly ball bearings work in Cars and other vehicles?...
i m final year project please help me out in selecting some topics for my major project....
hi i want to decode a data(DAT) file of the game to see the source code of the game to fix it glitches and bug please help is there any...