Quote:
Originally Posted by sunfighter
Using position: fixed; is correct, but it is better to place the fixed object using top/bottom and left/right selectors.
Your margin-left:850px; really makes a lot of empty space if it was followed.
Try this (I have commented out what you don't need):
Code:
.sidenav{
//margin-top:10px;
//margin-right:10px;
//margin-left:850px;
//float:right;
position: fixed;
top: 10px;
right: 10px;
width:175px;
....
|
Thanks it's a little better but it still isn't perfect when I minimize. Is it possible to make a ".SideNavContainer" and have it stay fixed inside that container? I even got my teacher trying to figure it out at the moment.