Page 1 of 1

How do I use table cell on DIV that's floated?

Posted: Wed Apr 06, 2016 4:01 pm
by simonmlewis
I have a DIV that is floated left. And a DIV that is floated right.

If the DIV that is floated right has more content than the one on the left, the left one doesn't fill the height of the screen, which is a problem as it is a menu with a background colour.

So is there a way to set the left DIV to always be 100% height?

Iv'e tried setting the DIV as display: table, and adding an inner div with display: table-cell, and seeting the outer as min-height: 100% but it fails.

Any ideas?

Re: How do I use table cell on DIV that's floated?

Posted: Wed Apr 06, 2016 5:09 pm
by Celauran