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

    The_Small_k

    Member

    Updated: Oct 26, 2024
    Views: 1.2K
    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 ?
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • synergynext

    MemberJun 26, 2011

    big deal
    wondering why this thread got un-noticed!
    Are you sure? This action cannot be undone.
    Cancel
  • synergynext

    MemberJun 26, 2011

    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%;
    }
    
    Are you sure? This action cannot be undone.
    Cancel
  • The_Small_k

    MemberJun 27, 2011

    Yeh i have fixed this issue....i forget to add flot there !!
    Are you sure? This action cannot be undone.
    Cancel
  • PraveenKumar Purushothaman

    MemberJun 27, 2011

    And don't forget to clear it using clear: both... 😀
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register