Daryl
Daryl

Reputation: 380

Making a div height 100%

I know there are quite a few questions on this already and i've looked around and everyone seems to say make the div absolutely positioned which is not really what i want to do.

Here's a jsbin minimal mockup which demonstrates what I'm trying to achieve.

http://jsbin.com/uqosa6/

What i want is so that the grey div stretches along side the yellow div.

Does anyone know how one would go about this?

Upvotes: 0

Views: 355

Answers (1)

Marc B
Marc B

Reputation: 360572

Google around for "css equal height columns". Plenty of methods out there. I've used this one (for 3 columns) a fair bit: http://matthewjamestaylor.com/blog/equal-height-columns-cross-browser-css-no-hacks

Upvotes: 1

Related Questions