Forum Moderators: not2easy
I have a login form that has two input boxes - one for the username and for the password (complicated eh!).
I want to make the username feild say "Username" in text or an image and then when the user clicks the field to enter their info, it disappears. Is this possible with CSS? It would be similar to what Google does with their Custom Search text field.
Thanks in advance for your help!
Wes
<input type="text" id="form-search" onfocus="if(document.getElementById('form-search').value == 'Enter keyword(s)') { document.getElementById('form-search').value = ''; }" title="Search the Site" value="Enter keyword(s)" /> I haven't checked out compact forms but I think I'll take a look at it :)