auto center menus

2 messages Options
Embed this post
Permalink
Pedro A.

auto center menus

Reply Threaded More More options
Print post
Permalink
Hi people,

Wondering if you have any ideia how to center CSS based menus, depending on the number of menus. This need is due to various user roles with diferent number of menus available for each user type.

My style is based on simplicity and my menu displayer is "net.sf.navigator.displayer.CSSListMenuDisplayer" using the struts-menu-2.4.2

My nav CSS file is based on this demo http://demo.raibledesigns.com/struts-menu/cssVertical.jsp

Thks,

Pedro A.
Matt Raible-3

Re: auto center menus

Reply Threaded More More options
Print post
Permalink
You should be able to use text-align on one of the menu li's - something like:

#menuId li { text-align: center}

Hope this helps,

Matt

On 10/13/06, Pedro A. <[hidden email]> wrote:

>
> Hi people,
>
> Wondering if you have any ideia how to center CSS based menus, depending on
> the number of menus. This need is due to various user roles with diferent
> number of menus available for each user type.
>
> My style is based on simplicity and my menu displayer is
> "net.sf.navigator.displayer.CSSListMenuDisplayer" using the
> struts-menu-2.4.2
>
> My nav CSS file is based on this demo
> http://demo.raibledesigns.com/struts-menu/cssVertical.jsp
> http://demo.raibledesigns.com/struts-menu/cssVertical.jsp
>
> Thks,
>
> Pedro A.
> --
> View this message in context: http://www.nabble.com/auto-center-menus-tf2436284s2369.html#a6793515
> Sent from the AppFuse CSS mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]