I'd like give a space between asp.net menu item. Hence, I tried with the staticmenuitemstyle
and horizontalpadding="10"
attribute which was suggested by some other post in SO. But, It's not working.
<staticmenuitemstyle horizontalpadding="10" />
Please let me know how can I give space between menu item ?
My code ::
<asp:Menu ID="NavigationMenu" runat="server" CssClass="menu"
EnableViewState="False" IncludeStyleBlock="False" Orientation="Horizontal"
BackColor="#F7F6F3" DynamicHorizontalOffset="2" Font-Names="Verdana"
Font-Size="0.8em" ForeColor="#7C6F57" StaticSubMenuIndent="10px">
<DynamicHoverStyle BackColor="#7C6F57" ForeColor="White" />
<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicMenuStyle BackColor="#F7F6F3" />
<DynamicSelectedStyle BackColor="#5D7B9D" />
<staticmenuitemstyle horizontalpadding="10" />
<Items>
<asp:MenuItem NavigateUrl="~/WebPages/Default.aspx" Text="Support1">
<asp:MenuItem NavigateUrl="~/WebPages/Default2.aspx" Text="Support2">
</Items>
</asp:Menu>