Author Topic: How to "center" the horizontal menu in "Andreas09"?  (Read 2099 times)

Offline webby

  • Posts: 90
How to "center" the horizontal menu in "Andreas09"?
« on: January 21, 2011, 05:20:18 PM »
Hi

How can I "center" the horizontal menu in the template Andreas09? (Se attach screenshot).
I have tried to insert several codes in the css-file and the index-file of the Andreas09-template, but nothing happens to the horizontal menu?

Thanks :)

[gelöscht durch Administrator]

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: How to "center" the horizontal menu in "Andreas09"?
« Reply #1 on: January 22, 2011, 01:02:06 AM »
Did you try applying the "margin:auto" to the DIV "mainmenu"?

cheers

Klaus

Offline webby

  • Posts: 90
Re: How to "center" the horizontal menu in "Andreas09"?
« Reply #2 on: January 22, 2011, 09:56:10 AM »
Hi Klaus

Thank you for the quick reply.
Hmmm - where exactly to put the margin:auto in the css-file ?

Thanks again

Webby.
www.mtmlinien.dk

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: How to "center" the horizontal menu in "Andreas09"?
« Reply #3 on: January 22, 2011, 10:03:16 AM »
You would put it where the DIV "mainmenu" is defined in you CSS file ;-) Remember though that CSS is worked from Top to bottom, so you might need to declare a margin:0 further down!

cheers

Klaus

Offline webby

  • Posts: 90
Re: How to "center" the horizontal menu in "Andreas09"?
« Reply #4 on: January 22, 2011, 11:36:15 AM »
Hi again

It did not work - I think I am doing it wrong!?
May I send you the css-file for a quick look?

Webby :)

 

postern-length