I'm designing a simple 2 column site with a banner across the top and a footer at the bottom.
Live Demo: http://jsfiddle.net/4XYWJ/1/
Have got a navigation column "nav" on the left and a content column "content", but unfortunately, when the end of the navigation column is reached, the content "bends" around it. Hve tried min-height, which works if I set a specific amount of pixels i.e. 570px, but then I need multiple CSS's - also, I can seem to get the fiddle using a repeated image.
The Code for the wrapper, nav and content look as follows:
#wrapper {
width:90%;
margin:20px auto;
border-bottom: 1px dotted black;
}
.nav {
float:left;
width:200px;
min-height: 100%;
background-image: url(img/blank.gif);
background-repeat: repeat-y;
}
#content {
width: 100%;
min-height: 570px;
text-align: left;
padding-top: 10px;
background-color: #f3e8d6; /*Default bg, similar to the background's base color*/
background-image: url("../img/tree.jpg");
background-position: right bottom; /*Positioning*/
background-repeat: no-repeat; /*Prevent showing multiple background images*/
}
Can someone help with this?