Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 666
  • Last Modified:

menu control spacing

how do i add space between items in a menu control.  it is set for horizontal, but there is no space between each item, hard to tell where one item ends and one begins.
0
Fraser_Admin
Asked:
Fraser_Admin
  • 2
  • 2
1 Solution
 
John Gates, CISSPSecurity ProfessionalCommented:
  8)
0
 
Fraser_AdminAuthor Commented:
where do i put that, i'm using a site map and a menu control in asp.net 2.0?
0
 
John Gates, CISSPSecurity ProfessionalCommented:
what does the asp/html code look like?  Can you post a snippet of this control?
0
 
Fraser_AdminAuthor Commented:
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" Style="z-index: 100;
            left: 0px; position: absolute; top: 0px" Orientation="Horizontal" BackColor="#E0E0E0" BorderStyle="Solid" DynamicHorizontalOffset="2" ForeColor="Black" StaticEnableDefaultPopOutImage="False" BorderColor="Black">
            <StaticMenuStyle BorderStyle="Solid" BorderWidth="1px" />
            <DynamicMenuItemStyle BackColor="#E0E0E0" BorderColor="Black" />
        </asp:Menu>
0
 
samtran0331Commented:
have you tried just playing with the padding attributes?
        <asp:Menu ID="Menu1" runat="server" BackColor="#E0E0E0" BorderColor="Black" BorderStyle="Solid"
            DataSourceID="SiteMapDataSource1" DynamicHorizontalOffset="2" ForeColor="Black"
            Orientation="Horizontal" StaticEnableDefaultPopOutImage="False" Style="z-index: 100;
            left: 0px; position: absolute; top: 0px">
            <StaticMenuStyle BorderStyle="Solid" BorderWidth="1px" HorizontalPadding="40px" VerticalPadding="5px" />
            <DynamicMenuItemStyle BackColor="#E0E0E0" BorderColor="Black" HorizontalPadding="40px" VerticalPadding="5px" />
        </asp:Menu>    

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now