2 column div layout: right column fixed width, left fluid, height relative to eachother

Posted by Henrik on Stack Overflow See other posts from Stack Overflow or by Henrik
Published on 2012-04-13T15:05:31Z Indexed on 2012/07/08 9:16 UTC
Read the original article Hit count: 180

Filed under:
|
|
|
|

I want a layout with two columns, two divs, where the left one has fluid width and the right one has fixed width. So far so good - see jsfiddle below - however, the height of the right column must be in relation to the height of the left column. So that if I have some content in the fluid column and would resize the browser window, thereby increasing or decreasing the height of the left column, the right one should follow and getting the same height.

What I got so far: http://jsfiddle.net/henrikandersson/vnUdc/2/

Edit: Resolved, see comment below

© Stack Overflow or respective owner

Related posts about css

Related posts about div