I'm having to work with adding code to another site's existing formatting, which is making this awkward. They let you insert blocks of code into the head, into the body (beginning) and into the footer. You can't change the rest of the page. I'm trying to add a right-hand column and have it float nicely beside the center content, but so far the only way I've been able to get it close is by absolute positioning, which is wrecked if someone makes their browser window the wrong size. Maybe you can help me.
It's the right-side column (the list of types of products) here:
http://www.cafepress.com/opalshop
Right now it's set to have a left position of 1000px. I'd like it to be fluid, though, and adjust to the size of the window.
Right now my css is like this:
#sidebar-2 {
float: right;
width: 150px;
\width: 150px;
w\idth: 150px;
font-size: .8em;
position: absolute;
left:1000px;
border: 1px solid #775736;
}
Everything else I've tried either makes the center content show up above or below the right column, rather than next to it. Help?