Center Stripped Menu Items

4 posts, 0 answers
  1. sircutbreaker
    sircutbreaker avatar
    111 posts
    Member since:
    Oct 2007

    Posted 01 Jun 2009 Link to this post

    I obtained a design sheet and stripped the style from my radmenu. I like how it is exactly but I would like to know the easiest way to center the items between the separators.

    http://merchantcashgroup.com

    Thanks,

    Jeff
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 02 Jun 2009 Link to this post

    Hello Jeff,

    Please add the following css styles to your page in order to align the text of menu items:

    <style type="text/css">  
      .RadMenu .rmLink,  
      .RadMenu .rmText {  
         float:none !important;   
         padding:0 !important;  
      }  
    </style>      
     
     

    Best wishes,
    Yana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 02 Jun 2009 Link to this post

    Hello Jeff,

    You can try out the following css code to align your RadMenuItems to the center:
    css:
     <style type="text/css">     
        .rmText   
        {    
            text-aligncenter !important;     
        }   
     </style>   

    Thanks
    Princy.
  5. sircutbreaker
    sircutbreaker avatar
    111 posts
    Member since:
    Oct 2007

    Posted 02 Jun 2009 Link to this post

    Thanks!
Back to Top