If your content is always longer than the side bar, you can put both sides in a div with a grey background. Then set the background color of the content div to white. That should take care of it. There is no direct way to achieve what you want, but this simple workaround is key in many
CSS based websites (including mine).