fuelyourcoding.com
Submitted by: Chris Coyier

In-Field Labels: A Better Way

The effect is achieved by overlaying the label element over the input, password, or textarea and making it semi-transparent when the field has focus. Once a keystroke is detected the label disappears entirely until the field loses focus. If it is empty on blur, then the label fades back in. Clicking on the label auto sets focus on the field.

direct link