[thelist] formatting the input tag

Matthias Ritzkowski Matt at grndwtr.com
Tue Jul 2 09:39:01 CDT 2002


Hi evolt people!

I am trying to get a certain behavior for an input. This is actually the
submit button of a form, which I want to make behave like a link (ok, so I
cannot us a link here ...)
Everything is great, until I try to change the color with a pseudoclass
input:hover.
Is this even possible??
 Regards
Matthias Ritzkowski


this is the code i use in the css

input{
color:#003399;;
background-color:#eef;;
font-size:11px;
text-decoration:none;
font-weight:300;
font-family:verdana, arial, helvetica, sans-serif;
border-style:none;
line-height:11px;
cursor:hand;
}
input:hover{color:#ff0000;}






More information about the thelist mailing list