Help with Centering a Container on an image

They have: 1 posts

Joined: Nov 2010

Hoping someone here can help me figure out why I cannot get a container in a very simple page to center on top the background image... (I am trying to learn about style sheets, so any help on this would be great... I'm reading sites about them, but have not yet found out how to fix this).

The test I am running is at

I would like the blue and white container to sit in the center (vertically) of the page. I want to dictate how far down from the top, but the left and right margin should always be equal no matter the width of the browser.

Thank you in advance.

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

One thing to note is that the container is not visible at all in Firefox or Chrome. I'm not that good with CSS, but thought maybe that would help you debug it.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.