I’m having a lot of trouble with my basic 2 column template. My main layout is basic as such:
<body>
<div id="container">
<div id="left"> </ div>
<div id="right"> </ div>
</ div>
</ body>
I want the left and right container to fit 100% of the screen or fit 100% of the content if the content is longer than the page. Also, I would like that if the content exceeds the content of left I would like for left, to equal the same height as right.
body {
background-color: #1f1e1c;
height: 100%;
}
#container {
width: 980px;
min-height: 100%;
}
#left {
float: left;
width: 205px;
height: 100%;
background-color: #453d34;
background-image: url(images/side1.png);
background-position: bottom;
background-repeat: no-repeat;
}
#right {
float: left;
width: 775px;
background-color: #d9c494;
background-image: url(images/up1.png);
background-repeat: no-repeat;
}
This is what my CSS looks like. I’ve attempted a few variations but neither of them work and neither of them equal or go 100% of the height.
If anyone could help me out with this I’d be very grateful.
Thank you in advance