Click here to Skip to main content
15,940,550 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

i am trying to create a Horizontal Menu containing 3 tabs in using Sitemap data source and Menu control.
2 tabs are in same line and one tab is appears below the 2.
<asp:Menu ID="Menu1" runat="server" staticdisplaylevels="2"
        staticsubmenuindent="10px" MaximumDynamicDisplayLevels="2"
        orientation="Horizontal"    DataSourceID="SiteMapDataSource1" BackColor="#B5C7DE" 
                     DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="0.8em" 
             <asp:MenuItemBinding DataMember="siteMapNode" 
                    NavigateUrlField="url" TextField="title"  
                    ToolTipField="description" />
                     <DynamicHoverStyle BackColor="#284E98" ForeColor="White" />
                     <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
                     <DynamicMenuStyle BackColor="#B5C7DE" />
                     <DynamicSelectedStyle BackColor="#507CD1" />
                     <StaticHoverStyle BackColor="#284E98" ForeColor="White" />
                     <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
                     <StaticSelectedStyle BackColor="#507CD1" />

I wish to have all 3 tabs in same line as Menu
Sergey Alexandrovich Kryukov 25-Feb-13 15:05pm    
At what angle is it coming? :-)
Richard C Bishop 25-Feb-13 15:35pm    
Now that is funny.
vicvis 26-Feb-13 12:41pm    
Actually my whole formatting get distorted once i change size of Browser window .Everything gets correct formatting when browser window is maximized to Full screen.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900