html and css - different height of div-containers
In my template I have one big div container an two smaller in it. They have different contents in it, so if I don´t specify the pixel, the containers get conform to the different contents.
I like them to be dynamic, but my wish would be, that the container with less content gets as big as the one with more content.
How can I wri开发者_JAVA技巧te this in the stylesheet?
It's definitely possible and there are multiple approaches. Take a look at this website for a detailed explanation:
http://matthewjamestaylor.com/blog/equal-height-columns-cross-browser-css-no-hacks
精彩评论