I'm using the menu control with the WebBlue skin as well as a css class to make some minor adjustments to it (you guys provided the css class to me). Here's the code below:
Code in CSS file:
div.MenuWithEnds
{
border-left: solid 1px #69798C;
border-right: solid 1px #69798C;
padding-left: 0px;
padding-right: 0px;
position:absolute;
right:10px;
}
Code in ASPX page:
My problem is that the left and right padding on each item is too large. How can I adjust my css class (or add a new css class) so that I can adjust the padding of the menu items?
Code in CSS file:
div.MenuWithEnds
{
border-left: solid 1px #69798C;
border-right: solid 1px #69798C;
padding-left: 0px;
padding-right: 0px;
position:absolute;
right:10px;
}
Code in ASPX page:
<telerik:RadMenu ID="RadMenu1" runat="server" Skin="WebBlue" Flow="Horizontal" CssClass="MenuWithEnds"> |
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
<Items> |
<telerik:RadMenuItem id="mnuTools" runat="server" Text="Tools" Value="Tools" ToolTip="Tools" style="z-index:10000;"> |
</telerik:RadMenuItem> |
<telerik:RadMenuItem id="mnu2" runat="server" Text="Item2" Value="Item2" NavigateUrl=""> |
</telerik:RadMenuItem> |
<telerik:RadMenuItem id="mnu3" runat="server" Text="Item3" Value="Item3" NavigateUrl=""> |
</telerik:RadMenuItem> |
<telerik:RadMenuItem id="mnu4" runat="server" Text="Item4" Value="Item4" NavigateUrl=""> |
</telerik:RadMenuItem> |
<telerik:RadMenuItem id="mnuLogout" runat="server" Text="Log out" ToolTip="Log out" Value="Logout" NavigateUrl="~/Logout.aspx"> |
</telerik:RadMenuItem> |
</Items> |
</telerik:RadMenu> |
My problem is that the left and right padding on each item is too large. How can I adjust my css class (or add a new css class) so that I can adjust the padding of the menu items?