Log in

View Full Version : Make Columns Equal



SChaput
07-03-2009, 03:47 PM
I have a website in which i incorporate many divs inside larger and larger divs. The main page consists of a Main Div and a Sidebar Div (to the left of the main div) When i put content in the maindiv, it expands accordingly, and the same happens when i input data into the sidebar div.

However, my question is this, how do i get the sidebar height to be equal to the height of the main div. For Example:
If i put alot of information into the sidebar div, it will show up longer then the main div. How can i achieve the main sidebar to be equal to the sidebar?

Thanks alot!

X96 Web Design
07-03-2009, 06:11 PM
Use this nifty DD script:

http://www.dynamicdrive.com/style/blog/entry/css-equal-columns-height-script/

// X96 \\

SChaput
07-03-2009, 06:37 PM
Awesome, thank you.
Just what i was looking for!