Accessible inline form labels
Update: Added the check to make sure the input is empty before showing the overlayed label the first time.
Update: Added the check to make sure the input is empty before showing the overlayed label the first time.
Anyone who has styled forms understands the frustration that is the input/textarea (or whatever your weapon of choice for masochism). They can be frustrating to make behave consistently. I found a technique I used today that I thought I would share. I seriously doubt I'm the first to use it but none-the-less maybe someone hasn't seen this before.
See all tags.