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

Centering Vertical RadMenu

1 Answer 57 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Jeff Reinhardt
Top achievements
Rank 1
Jeff Reinhardt asked on 11 Feb 2010, 01:28 AM
I cannot get the radmenu to center, using Black Skin:

<

 

div id="leftMenu" align="center" runat="server">

 

 

<telerik:RadMenu ID="rdLeftMenu" Flow="Vertical" Runat="server" Skin="Black" Width="80%">

 

 

<Items>

 

 

<telerik:RadMenuItem runat="server" Text="Home" NavigateUrl="~/default.aspx" />

 

 

<telerik:RadMenuItem runat="server" Text="Demo" NavigateUrl="~/demo.aspx" />

 

 

<telerik:RadMenuItem runat="server" Text="More Info" NavigateUrl="~/contact.aspx" Visible="false" />

 

 

<telerik:RadMenuItem runat="server" Text="Support" NavigateUrl="~/support.aspx" />

 

 

<telerik:RadMenuItem runat="server" Text="More Info / Contact Us" NavigateUrl="~/contact.aspx" />

 

 

<telerik:RadMenuItem runat="server" Text="Login" NavigateUrl="~/login/login.aspx" />

 

 

</Items>

 

 

</telerik:RadMenu>

 

 

</div>

CSS:

 

#leftMenu

 

 

 

{

 

float: none;

 

 

margin-left: auto;

 

 

margin-right: auto;

 

 

text-align: center;

 

}

 

.RadMenu

 

Black .rmLeftImage

 

{

 

float: none !important;

 

}

 

 

 

.RadMenu

 

Black .rmVertical .rmLeftImage + .rmText

 

{

 

padding:0 !important;

 

}

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 11 Feb 2010, 12:17 PM
Hello,

I guess following forum link will be of help in centering the RadMenu on page.
Centering menu in a div

Thanks,
Princy.
Tags
Menu
Asked by
Jeff Reinhardt
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Share this question
or