Question by J D: I have been working on this css navigation bar. I have looked everywhere and I can not center. Help?
I would like it top centered.

here is the entire html code:

Test Background center.

This is a test.

Best answer:

Answer by ✞☠ Ron ☠✞
Put it in a div and set a width/height. You can not center anything without a width except text. Then use this to center: margin: 0 auto; Be sure to use a width less than 100%. In fact, put a temporary border around the div container to see where you need to tweak the width/height to contain your nav menu. Might have to remove some of that CSS for the menu to get it right. Ron

What do you think? Answer below!