Click here to Skip to main content
13,054,329 members (121,907 online)
Rate this:
Please Sign up or sign in to 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
Posted 25-Feb-13 9:03am
Sergey Alexandrovich Kryukov 25-Feb-13 15:05pm
At what angle is it coming? :-)
richcb 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 26 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100