Ok so i've got this script:
And it's just a quickie to test it, but when you click on the text area i want the border to stay green while it is selected, because atm it's only green when you click on it.HTML Code:<html> <head> <style type="text/css"> input:active { background-color: white; border: 1px solid #66FF00; } input{ background-color: white; border: 1px solid black; } </style> </head> <body> <input name="hello" type="text"> </body> </html>
Please help.
Thanks,
Ver.
EDIT: Test it here: http://www.w3schools.com/css/tryit.a...=trycss_border






Reply With Quote

