Reputation: 2015
I am using a fluid/fixed layout. i need my fixed side to take up 100% of the room between the header and footer content.
my right column:
#rightcolumn{
float: left;
width: 200px; /*Width of right column in pixels*/
margin-left: -200px; /*Set left margin to -(RightColumnWidth) */
background: #FDE95E;
height:100%;
}
Upvotes: 2
Views: 946
Reputation: 3955
So you can do it with css "display: table" and "table-cell". Here's a copy of the fiddle I got working, but what I did was nest your #rightcolumn into the #contentwrapper div and then modify the css as so:
#contentwrapper{ display: table; }
#rightcolumn{ display: table-cell; }
#contentcolumn{ display: table-cell; }
also "#rightcolumn" - remove "float: left;" property
Upvotes: 3