[WSG] CSS version of onfocus onblur for form fields

2004-04-19 Thread Paul Ross
Hello folks, Does anyone know if there is a CSS equivalent of onfocus and onblur? I have a homepage with 2 input boxes - one with the initial value called 'Username' and the other called 'Password' (which shows up as on screen). If I am not making myself clear here's the page in

Re: [WSG] CSS version of onfocus onblur for form fields

2004-04-19 Thread Justin French
On 20/04/2004, at 11:49 AM, Paul Ross wrote: Hello folks, Does anyone know if there is a CSS equivalent of onfocus and onblur? There is a CSS pseudo selector :focus http://www.w3.org/TR/CSS2/selector.html#x33 I have a homepage with 2 input boxes - one with the initial value called 'Username'