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.
Modals: Love them, hate them they are a current fad (and have been for a while). Modals are usually implemented via javascript for older browser support (though there are some cool things being done with CSS3 on the matter). I've seen it done lots of ways, but here's a simple way to make modals "work" on a browser without javascript.
See all tags.