When the mouse passes over the text 'Request password', I would like the text to be underlined in the colour #BD2CBB.
How would I do that, please?
Thank you.
Steve H
brandozz
1:44 pm on Apr 3, 2014 (gmt 0)
You have the closing bracket for the "form button" styles in the wrong place, it should be before the a:link styles and do you have the input and button wrapped in a form?
rainborick
3:14 pm on Apr 3, 2014 (gmt 0)
brandozz is right that your CSS has errors. Try:
<style type="text/css">
form button { background:none; border:none; color:#BD2CBB; text-decoration:none; cursor:pointer; outline:none; }
form button:hover { text-decoration:underline; }
</style>
SteveHi
3:25 pm on Apr 3, 2014 (gmt 0)
Hello brandozz and rainborick
Yes, the input and button and in a 'lost password' <form></form>.
I have tried the code that rainborick kindly submitted and IT WORKS!