I have this layout:
The topbar is fixed. Then I want to have a sidebar in the left pane, and a right pane with the main content. The panes are different colors, and seperated by a border.
The problem is that sometimes the left pane will be taller and sometimes the right pane will be taller. And so one pane is shorter than the other (the color ends and you see white).
I've tried height:100%;
but that only works if the content is shorter than the browser height.
How can I solve this with just CSS?
You can use a technique called "faux columns". A good example is Method 3 on this page, or as Wex added in the comment below, this link on A List Apart.