Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Wrong ForeColor on Menu in Google Chrome

Reply
Thread Tools

Wrong ForeColor on Menu in Google Chrome

 
 
Anton
Guest
Posts: n/a
 
      09-09-2009
hi

asp.net 3.5

The menu control below displays a white forecolor when testing in Internet
Explorer. But now to my surprise it is BLUE when testing on Google Chrome

<asp:Menu ID="Menu1" runat="server" SkinID="menu"
CssClass="menu"
DataSourceID="smdsNormal"
StaticDisplayLevels="2"
Orientation="Horizontal">
</asp:Menu>


Skin:
<asp:menu runat="server"
SkinId="menu"
BackColor="#3399FF"
ForeColor="White" Font-Names="Verdana" Font-Size="16px" Font-Bold="true"
StaticMenuItemStyle-HorizontalPadding="5px"
DynamicMenuItemStyle-BackColor="#3399FF"
DynamicHoverStyle-Font-Underline="true"
DynamicHoverStyle-ForeColor="#FFFFFF"
StaticSubMenuIndent="10px"
StaticHoverStyle-Font-Underline="true"
StaticHoverStyle-ForeColor="#FFFFFF"
DynamicMenuItemStyle-HorizontalPadding="5px"></asp:menu>

css:
..menu
{
color:White;
}

any idea what I do wrong?


 
Reply With Quote
 
 
 
 
Anton
Guest
Posts: n/a
 
      09-10-2009

solved


"Anton" <no_email> wrote in message
news:...
> hi
>
> asp.net 3.5
>
> The menu control below displays a white forecolor when testing in Internet
> Explorer. But now to my surprise it is BLUE when testing on Google Chrome
>
> <asp:Menu ID="Menu1" runat="server" SkinID="menu"
> CssClass="menu"
> DataSourceID="smdsNormal"
> StaticDisplayLevels="2"
> Orientation="Horizontal">
> </asp:Menu>
>
>
> Skin:
> <asp:menu runat="server"
> SkinId="menu"
> BackColor="#3399FF"
> ForeColor="White" Font-Names="Verdana" Font-Size="16px"
> Font-Bold="true"
> StaticMenuItemStyle-HorizontalPadding="5px"
> DynamicMenuItemStyle-BackColor="#3399FF"
> DynamicHoverStyle-Font-Underline="true"
> DynamicHoverStyle-ForeColor="#FFFFFF"
> StaticSubMenuIndent="10px"
> StaticHoverStyle-Font-Underline="true"
> StaticHoverStyle-ForeColor="#FFFFFF"
> DynamicMenuItemStyle-HorizontalPadding="5px"></asp:menu>
>
> css:
> .menu
> {
> color:White;
> }
>
> any idea what I do wrong?
>
>



 
Reply With Quote
 
 
 
 
Raghupathi K
Guest
Posts: n/a
 
      09-14-2009
On Sep 10, 3:19*pm, "Anton" <no_email> wrote:
> solved
>
> "Anton" <no_email> wrote in message
>
> news:...
>
>
>
> > hi

>
> > asp.net 3.5

>
> > The menu control below displays a white forecolor when testing in Internet
> > Explorer. But now to my surprise it is BLUE when testing on Google Chrome

>
> > <asp:Menu ID="Menu1" runat="server" SkinID="menu"
> > CssClass="menu"
> > DataSourceID="smdsNormal"
> > StaticDisplayLevels="2"
> > Orientation="Horizontal">
> > </asp:Menu>

>
> > Skin:
> > <asp:menu runat="server"
> > * *SkinId="menu"
> > * *BackColor="#3399FF"
> > * *ForeColor="White" Font-Names="Verdana" Font-Size="16px"
> > Font-Bold="true"
> > * *StaticMenuItemStyle-HorizontalPadding="5px"
> > * *DynamicMenuItemStyle-BackColor="#3399FF"
> > * *DynamicHoverStyle-Font-Underline="true"
> > * *DynamicHoverStyle-ForeColor="#FFFFFF"
> > * *StaticSubMenuIndent="10px"
> > * *StaticHoverStyle-Font-Underline="true"
> > * *StaticHoverStyle-ForeColor="#FFFFFF"
> > * *DynamicMenuItemStyle-HorizontalPadding="5px"></asp:menu>

>
> > css:
> > .menu
> > {
> > * *color:White;
> > }

>
> > any idea what I do wrong?- Hide quoted text -

>
> - Show quoted text -


How ? Please show us the solution for the benefit of those having
similar problems.....
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chrome selects wrong thread for JS-Java upcall on 2nd(ish) Applet instance Richard Maher Java 13 11-17-2010 10:20 AM
Download contaxt menu in Google Chrome pawihte Computer Support 2 03-04-2010 11:45 PM
Google Chrome OS, Odds are stacked against Chrome OS's success Max Burke NZ Computing 1 07-11-2009 04:38 AM
Setting menu properties - ForeColor SE.Computerguy ASP .Net 2 09-10-2007 07:16 PM
Setting menu properties - ForeColor SE.Computerguy ASP .Net Web Controls 2 09-10-2007 07:16 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57