How do I center my page content so it is centered on every type of screen size? For instance, on Allegorithmic if I resize my browser, the center content will shift to the left until it reaches the browser window. There are certain background elements that extend horizontally infinitely (the dark gray at the top, the light grey in the middle, etc.). I can open this website on my laptop and on my iMac and it is centered. I thought I might use absolute positioning to move content x amount of pixels from the left, but that won't work because 300 pixels that center the content on a small screen, won't center it on a large screen.
So in essence I would like to duplicate the functionality of the Allegorithmic website, have backgrounds that are infinite horizontally, but have certain content that always stays "centered".