weird stuff with asp.net button CSS class

Posted by Alexander on Stack Overflow See other posts from Stack Overflow or by Alexander
Published on 2010-04-06T02:40:23Z Indexed on 2010/04/06 2:43 UTC
Read the original article Hit count: 309

Filed under:
|

I have the following button:

<Club:RolloverButton runat="server" ValidationGroup="Login1" Text="Login" ID="LoginButton"
                                            CommandName="Login" CssClass="links"  />

.links {
    display: block;
    width: 96px;
    padding: 2px 0px 2px 0px;
    background: #A53602;
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    color: #FFFFFF;
}

When this button shows up the first time it shows the style correctly, however if I hover my mouse over this button the layout turns into a standard button, why is that??

© Stack Overflow or respective owner

Related posts about css

Related posts about ASP.NET