View Feed
group-icon
Coffee Room
Discuss anything here - everything that you wish to discuss with fellow engineers.
12889 Members
Join this group to post and comment.
The_Small_k
The_Small_k • Jun 18, 2011

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 ?
synergynext
synergynext • Jun 27, 2011
big deal
wondering why this thread got un-noticed!
synergynext
synergynext • Jun 27, 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%;
}
The_Small_k
The_Small_k • Jun 27, 2011
Yeh i have fixed this issue....i forget to add flot there !!
And don't forget to clear it using clear: both... 😀

Share this content on your social channels -