View Full Version : Centreing Horizontal Spry menu

02-03-2009, 08:47 AM
Hi, i'm having real trouble trying to centre my Horizontal spry menu bar on my page. Been trying everything in css properties.

However the easist way I have just sussed to do it is by placing it in an
APdiv & just moving it where I want.

Could someone tell me is this a good way to do it or is there another way i should be doing it by actually centreing it?

Thanks in advance

02-03-2009, 05:24 PM
Another way than what?
CSS centering is an easy process so you're doing something wrong.

02-03-2009, 08:31 PM
At the minute I am placing it in a APdiv & moving it where I want to. I just couldn't figure out a way to centre it without putting it in that.

I could float it left or right but not centre

02-03-2009, 09:53 PM
AP = absolutely positioned. Centering is a relative position.
Floating will align it to either left or right from the content.
This should give you the basics: