1 reply [Last post]
colophonius
colophonius's picture
Offline
newbie
Last seen: 7 years 43 weeks ago
Timezone: GMT+1
Joined: 2012-11-15
Posts: 3
Points: 5

Hi Guys!

I'm stuck with the site I'm currently working on. Here is the link.

Here is what I want:
The menu should center horizontally on top of the page.
It also should be flexible, so i don't have rewrite the css if I'm adding a new menu item. The best would be if this worked automatically.

I'd be very thankful if someone could have a quick look at the page and could tell me what to do, or what I do wrong.

I tried a whole bunch of different tutorials and like a ton of different codes. But it just wont work. I'm no pro so I'm working mostly on trial and error. And this just comes out as error Sad

THANK YOU,
colophonius

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 5 years 49 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Remove position:absolute

Applying a width and margin: 0 auto will centre it.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference