I have a page with header, footer and main content area. In the main content area there are 2 divs for the content and the nav. I would like the content to be effectivly attached to the side of the nav(which is fixed width) and then grow to the full remaining width of the page. Can some one tell me what is wrong with the css below?
[Peace][Pipe]
Code:
#main {
clear:both;
position:relative;
float: right;
width: 65%;
padding-right:1em;
z-index:2;
}
.navmenu{
position:relative;
list-style-type: none;
margin: 0;
padding: 0;
width: 14em;
text-align:left;
vertical-align: top;
z-index:3;
}
[Peace][Pipe]