I'm trying to accomplish the following:
I have fixed left sidebar with percent width like so:
.sidebar {
position: fixed;
background-color: tomato;
width: 35%;
height: 400px;
}
.. and a right container with a fixed background image:
.right {
background: url('http://farm7.staticflickr.com/6212/6365239995_8f5d03fb30_b.jpg') no-repeat fixed;
height: 400px;
}
How can I make the background image start where the width of the sidebar ends and not be below it?
Here is a fiddle: http://jsfiddle.net/EKqPg/ (the opacity propery is there for demo purposes)