Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Menu > Right alin without skins / themes
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Right alin without skins / themes

Feed from this thread
  • Mertosha Johnson avatar

    Posted on Oct 11, 2007 (permalink)

    OK - So I will not be using skins / themes with any of the telerik controls as theme / skin information renders as in line style thus bloating the http request / respons objects.

    The being said - I have set the Theme for menu control to NONE - which appeared to be the only way to get out side the themes.  I have been able to generate the look and feel required by our customer but have been un-able to get the menu control to render right aligned in a div contril. 

    Here is the control definition:
    <div>
    <radM:RadMenu CssClass="telerikmenu" ID="RadMenu1" runat="server" EnableTheming="False" SkinsPath="" Skin="None">
    <Items>
    <radM:RadMenuItem ID="RadMenuItem1" runat="server" Text="Home (Telerik)">
    </radM:RadMenuItem>
    </Items>
    </radM:RadMenu>
    </div>

    Additionally here are the styles I have set:
    .telerikmenu
    {
    width: 100%;
    background-image: url(images/topnavbar.jpg);
    background-repeat: repeat-x;
    float: right !important;
    }

    /* This was the only way I could get the text to be white */
    .rootGroup .item .link
    {
    color: White;
    }


    Any idea in this context how to get the menu to right align within the div?
    Thanks

    Ps - The behaviour is the same in FireFox 2.0.0l7 as well as IE 7.

  • Dimo Dimo admin's avatar

    Posted on Oct 11, 2007 (permalink)

    Hello Mertosha,

    By default, RadMenu is floated to the left. Please try adding this to your stylesheet :

    .telerikmenu
    {
       float: right !important;
    }

    All the best,
    Dimo
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

  • nate avatar

    Posted on May 5, 2011 (permalink)

    Will this work for mvc menu?

    .telerikmenu
    {
    float: right !important;
    }

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Menu > Right alin without skins / themes