Wrong ForeColor on Menu in Google Chrome

Discussion in 'ASP .Net' started by Anton, Sep 9, 2009.

  1. Anton

    Anton Guest

    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?
     
    Anton, Sep 9, 2009
    #1
    1. Advertising

  2. Anton

    Anton Guest

    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?
    >
    >
     
    Anton, Sep 10, 2009
    #2
    1. Advertising

  3. Anton

    Raghupathi K Guest

    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.....
     
    Raghupathi K, Sep 14, 2009
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. SE.Computerguy

    Setting menu properties - ForeColor

    SE.Computerguy, Sep 3, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    393
    SE.Computerguy
    Sep 10, 2007
  2. Roedy Green

    Google's new Chrome browser

    Roedy Green, Sep 2, 2008, in forum: Java
    Replies:
    32
    Views:
    1,175
    Lasse Reichstein Nielsen
    Sep 6, 2008
  3. cwdjrxyz
    Replies:
    7
    Views:
    489
    ddg_linux
    Sep 3, 2008
  4. cwdjrxyz
    Replies:
    0
    Views:
    539
    cwdjrxyz
    Sep 11, 2008
  5. SE.Computerguy

    Setting menu properties - ForeColor

    SE.Computerguy, Sep 3, 2007, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    160
    SE.Computerguy
    Sep 10, 2007
Loading...

Share This Page