Menu control and hover text color

Discussion in 'ASP .Net Web Controls' started by patrick.sannes@gmail.com, Jul 10, 2006.

  1. Guest

    Hi There,

    I have the following stylesheet coupled to my menu control.
    ..StaticHoverStyle
    {
    color: black;
    background-color: #FFFFFF;
    font-family: Arial;
    font-size: 13px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    }

    ..StaticMenuItemStyle
    {
    font-family: Arial;
    font-size: 13px;
    color: #FFFFFF;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    }

    My main problem is that the textcolor stays white when I mouseover..
    (so it is all white..).
    I have the same problem with the dynamic styles...

    Hope someone can help me!

    Regards,
    Patrick
    , Jul 10, 2006
    #1
    1. Advertising

  2. Patrick, it remains white because that is the color of the menuitemstyle you
    provided. The color will change on hover and then go back to initial
    state(white) after hover.

    Regards,
    Alessandro Zifiglio
    http://www.AsyncUI.net

    <> ha scritto nel messaggio
    news:...
    > Hi There,
    >
    > I have the following stylesheet coupled to my menu control.
    > .StaticHoverStyle
    > {
    > color: black;
    > background-color: #FFFFFF;
    > font-family: Arial;
    > font-size: 13px;
    > padding-top: 5px;
    > padding-bottom: 5px;
    > padding-left: 5px;
    > padding-right: 5px;
    > }
    >
    > .StaticMenuItemStyle
    > {
    > font-family: Arial;
    > font-size: 13px;
    > color: #FFFFFF;
    > padding-top: 5px;
    > padding-bottom: 5px;
    > padding-left: 5px;
    > padding-right: 5px;
    > }
    >
    > My main problem is that the textcolor stays white when I mouseover..
    > (so it is all white..).
    > I have the same problem with the dynamic styles...
    >
    > Hope someone can help me!
    >
    > Regards,
    > Patrick
    >
    Alessandro Zifiglio, Jul 12, 2006
    #2
    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. =?Utf-8?B?am9qb2Jhcg==?=
    Replies:
    1
    Views:
    4,069
    wwwtar
    Oct 2, 2006
  2. Mufasa
    Replies:
    2
    Views:
    435
    Mufasa
    Jul 3, 2008
  3. Replies:
    2
    Views:
    156
    Ray Costanzo [MVP]
    Feb 10, 2006
  4. Kamaljeet Saini
    Replies:
    0
    Views:
    377
    Kamaljeet Saini
    Feb 13, 2009
  5. Replies:
    7
    Views:
    362
    Mick White
    Feb 2, 2005
Loading...

Share This Page