Align Menu Text at Center

5 posts, 0 answers
  1. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 31 May 2008 Link to this post

    Hi

    Is there any way or some property by which I can align me Text of menu at center?

    Thanks,

    Rahul
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 02 Jun 2008 Link to this post

    Hello Rahul,

    Please, use the following css selector:
    .rmLink .rmText   
        {  
        text-aligncenter;  
        } 


    Greetings,
    Peter
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. nhaydon
    nhaydon avatar
    35 posts
    Member since:
    May 2007

    Posted 23 Jul 2008 Link to this post

    I have changed the CSS to make the menu a fixed Width of 800px, but the Text will not Center even with this selector

    .rmLink .rmText   
        {  
        text-aligncenter;  
        }

    Any ideas? Thank you.
  5. nhaydon
    nhaydon avatar
    35 posts
    Member since:
    May 2007

    Posted 23 Jul 2008 Link to this post

    I found this article but I am getting an error using it.

    http://www.telerik.com/support/kb/article/b454K-tbd-b454T-cam-b454c-cam.aspx

    The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
  6. nhaydon
    nhaydon avatar
    35 posts
    Member since:
    May 2007

    Posted 23 Jul 2008 Link to this post

    I figured it out, I just add the width property to this selector

    .RadMenu_Black

    .rmRootGroup .rmLink

    {

    margin-right: 5px;

    overflow: visible;

    width:192px;

    }

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017