Menu items alignment for a horizontal menu

Discussion in 'ASP .Net' started by Emil, Dec 10, 2007.

  1. Emil

    Emil Guest

    Hello,
    I'm using asp.net 2.0. I have a horizontal menu control. The children menu
    items are center aligned when shown. How can I change the alignment of the
    dynamic menu items to be left aligned?
    Thank you.
     
    Emil, Dec 10, 2007
    #1
    1. Advertising

  2. Emil

    Manuel Ricca Guest

    On Dec 10, 4:49 pm, "Emil" <> wrote:
    > Hello,
    > I'm using asp.net 2.0. I have a horizontal menu control. The children menu
    > items are center aligned when shown. How can I change the alignment of the
    > dynamic menu items to be left aligned?
    > Thank you.


    Hi,

    You should specify a CssClass for DynamicMenuItemStyle and
    DynamicSelectedStyle and in the class include the property text-align:
    left.

    Manuel Ricca
     
    Manuel Ricca, Dec 11, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    977
  2. Syl
    Replies:
    3
    Views:
    390
  3. Larry Bud
    Replies:
    13
    Views:
    7,705
    Larry Bud
    Jan 7, 2008
  4. Philip
    Replies:
    1
    Views:
    323
  5. Hoa

    Horizontal menu with same width menu items

    Hoa, Aug 30, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    271
Loading...

Share This Page