HTML - How to style a input type=submit so no second line created?

Posted by Malcolm on Stack Overflow See other posts from Stack Overflow or by Malcolm
Published on 2010-04-08T06:23:38Z Indexed on 2010/04/08 6:33 UTC
Read the original article Hit count: 186

Filed under:

Hi,

I am tring to style a input submit button like an anchor. But it is putting a second line underneath the anchor.

How do I style just one line?

.usernameAnchor
{
    background-color:white;
    color: #034af3;
    text-decoration: underline;
    border: 0px none;
    display:inline;
    height:25px;
}

Malcolm

EDIT: This problem is in IE8.

© Stack Overflow or respective owner

Related posts about html