Menu Item Text Alignment

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    132 posts
    Member since:
    Sep 2008

    Posted 24 Sep 2008 Link to this post

    How do I get my menu items text to align center?

    My menu is db drivin and each items width is set from the database, I want to align the text of the menu item to the center. It looks as if there is a set amount of space at the start of each menu item as all my menu items have the same amount of space at the start no mater what the menuitems width is set to.

    I have tried to modifiy ".rmText" in the css class but that had no effect
  2. Yana
    Yana avatar
    5043 posts

    Posted 25 Sep 2008 Link to this post

    Hi Andrew,

    Please add the following css styles to your page to make RadMenu items with fixed width and align the text in the center:

    <style type="text/css">  
        .rmItem {  
            width200px !important;  
        .rmText {  
            text-aligncenter !important;   

    All the best,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top