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

[Solved] Menu Button Position MVC control

3 Answers 118 Views
Menu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nate
Top achievements
Rank 1
Nate asked on 05 May 2011, 03:52 PM
I suspect that to align the buttons to the right I need a float:right;
If so, where do I need to make this change. If not, then how can I make the buttons align to the right instead of the default of left?

3 Answers, 1 is accepted

Sort by
0
Demon
Top achievements
Rank 1
answered on 05 May 2011, 04:14 PM
Hi, what do you mean by "menu buttons" - are these the menu items? If so, then use simply a text-align style:

.t-menu .t-link
{
      text-align: right;
}
0
Nate
Top achievements
Rank 1
answered on 05 May 2011, 04:30 PM
I am referring to a telerik menu. E.g 

@{ Html.Telerik().Menu()


Yes, it would be the menu items.

items.Add().Text(

 

"Parent1");

 

 

 

items.Add().Text(

 

"Parent2");

 

 

 



Where would this go? In the telerik.common.css stylesheet? I added it to this css and it did not work.

Thanks
0
Demon
Top achievements
Rank 1
answered on 05 May 2011, 04:42 PM
Maybe you want to shift the whole Menu component to the right. In this case you need to set float:right to the .t-menu CSS class.
Tags
Menu
Asked by
Nate
Top achievements
Rank 1
Answers by
Demon
Top achievements
Rank 1
Nate
Top achievements
Rank 1
Share this question
or