Currently, I am in the process of developing an internal web page with a wrapper DIV structure based on recommendations from an online tutorial. Within this wrapper, there are different sections including a header, mainnav, content, sidenav, and footer. The content and sidenav are positioned as side by side DIVs, with the sidebar featuring a menu that is subject to change. My current challenge lies in trying to ensure that the content DIV matches the height of the sidenav.
Below is the CSS for these two DIVs:
#content {
width: 75%;
float: left;
padding-top: 5px;
height: 100%;
}
#sidenav {
width: 25%;
float: right;
}
In addition, here is the CSS code for the overall wrapper:
#wrapper {
background-color: #FFFFFF;
width: 100%;
min-width: 740px;
max-width: 1000px;
margin-right: auto;
margin-left: auto;
-webkit-box-shadow: 0px 1px 20px #999999;
box-shadow: 0px 1px 20px #999999;
}