asp menu control problem

Posted by Suneel161 under Regular Expressions on 2/26/2010 | Views : 2418 | Status : [Member] | Replies : 3
hii
i created menu in asp 3.5.it works in firepox..
but not working in ie7..how to do this.




Responses

Posted by: Nishithraj on: 2/26/2010 [Member] Bronze

Up
0
Down
Can you provide the html part of menu with styles?

Mark this as answer, if it is.....

With regards
Nishithraj Narayanan

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suneel161 on: 2/26/2010 [Member] Starter

Up
0
Down
<asp:Menu ID="Menu2" runat="server" BackColor="#999999"
Orientation="Horizontal" StaticDisplayLevels="2"
DataSourceID="SiteMapDataSource1" DynamicHorizontalOffset="2"
Font-Names="Times New Roman" Font-Size="Medium" ForeColor="White"
StaticSubMenuIndent="10px" style="margin-bottom: 0px" Width="100%"
Font-Bold="True">

<StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicHoverStyle BackColor="#707070" ForeColor="White" />
<DynamicMenuStyle BackColor="#666666" BorderColor="#7A7A7A"
BorderWidth="0px" />
<StaticSelectedStyle BackColor="#999999" />
<DynamicSelectedStyle BackColor="#818181" />
<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" Width="150px" />
<StaticHoverStyle BackColor="#999999" ForeColor="White" />
</asp:Menu>
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Abhi2434 on: 2/27/2010 [Member] [Microsoft_MVP] [MVP] Silver

Up
0
Down
I guess this is a problem specific to the browser.

I recommend you to use CssFriendly and render the menu yourself.
It is easier to have browser file configured for two browsers and put html accordingly.

Other than that, if you want css solution, you can also go for it. You need to find what html is not working in the browser and change it accordingly.

www.abhisheksur.com

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response