This is a migrated thread and some comments may be shown as answers.

Aligning Menu right using MVC wrappers

1 Answer 273 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 30 Aug 2012, 02:18 PM
I have a menu at the top of my web application that is working and looks good.  However, I would like all of the items in the menu to align to the right side of the page.  Is there a way to do this using the MVC wrappers?  Or, do I need to enclose the menu in a <div> that is floated right, or some other CSS trick.

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 03 Sep 2012, 11:09 AM
Hello Scott,

You can use CSS:

ul.k-widget.k-menu-horizontal > .k-item
{
    float: right;
}

Note that you will need to reverse the order of the root Menu items in the markup.

All the best,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Menu
Asked by
Scott
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or