Edit 2: It seems clear that no one seems to be able to understand what I’m asking, so I’ll try to illustrate it;

The area in the center has the id #navigation. This has the following CSS properties,
width: 960px;
margin: auto;
background: #e4bd04;
The reason it has a width of 960px, is because I would like the links in my navigational bar to remain within a 960px limit. I’d also like them centered, so I apply margin: auto. However, this means that my background only flows for 960px. I’d like the background to flow for the entire window width (100% of page), so that users with larger screens don’t end a huge chunk of white space at the top.
In order to prevent this, I nest #navigation into another id, #navouter, to which I apply width: 100%; and background: #e4bd04;, so that the background now appears to extend for the entire width of the window.
Is there any way to do this without using two elements as I’ve done?
I’ve undestood, you don’t want to have 2 div to center another div with fixed width, isn’t it ?
I don’t think that you’ll love it, but this is a solution :
Result for 300px div : http://jsfiddle.net/7GTCc/1/
Or another, really ugly (lol) :
Edit regarding your illustration
“Is there any way to do this without using two elements as I’ve done?”
No 🙂
But if you only want the background to be 100%, don’t specify a background (color or url) to your #navigation.
Last try to answer, test this :
Demo here : http://jsfiddle.net/7GTCc/3/