Okay, this one is starting to bug me.
I have a div which is being used as a container. The div contains three other divs, all side-by-side. The three divs need to be the same height, always. They also need to be able to change in height, depending on the amount of content in them. So, if one div has a lot of content, it has to stretch to fit the content. The other two divs also have to stretch to match its height, so they always stay the same.
I found a way using overflow:hidden; on the container. I then added margin-bottom: really high number; and padding-bottom: really high negative number; on the three divs. It actually worked how I wanted, but with one problem.
The three divs have a background image, aligned to the bottom. When I go with that method, the bottoms of those divs are actually thousands of pixels down into nothingness, hidden by the overflow:hidden. Therefore, they're not seen.
Is there a way I can do this?
I have a div which is being used as a container. The div contains three other divs, all side-by-side. The three divs need to be the same height, always. They also need to be able to change in height, depending on the amount of content in them. So, if one div has a lot of content, it has to stretch to fit the content. The other two divs also have to stretch to match its height, so they always stay the same.
I found a way using overflow:hidden; on the container. I then added margin-bottom: really high number; and padding-bottom: really high negative number; on the three divs. It actually worked how I wanted, but with one problem.
The three divs have a background image, aligned to the bottom. When I go with that method, the bottoms of those divs are actually thousands of pixels down into nothingness, hidden by the overflow:hidden. Therefore, they're not seen.
Is there a way I can do this?








