Hey all,
This is a novice question, I'm sure, but it's giving me fits...
Basically, I have two floating divs side-by-side with a containing div that stretches the length of the browser window. I want the left div, the nav panel, to be a set width, and the right div, to shrink with the browser.
The problem is that as it shrinks, the right div pushes the left one down, instead of just contracting as much as possible.
Here's the CSS:
Code:
#user_left_content {
display: block;
float: left;
width: 200px;
margin-right: 10px;
}
#user_right_content {
display: block;
float: right;
width: 65%;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border: 1px solid #949494;
padding: 5px;
min-height: 200px;
}
Thanks in advance!
|