https://github.com/paularmstrong/labelover
A jQuery plugin that handles dynamically placing an HTML label over its associated input.
https://github.com/paularmstrong/labelover
Last synced: 6 months ago
JSON representation
A jQuery plugin that handles dynamically placing an HTML label over its associated input.
- Host: GitHub
- URL: https://github.com/paularmstrong/labelover
- Owner: paularmstrong
- Created: 2010-04-05T03:47:48.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-08-02T22:23:40.000Z (about 15 years ago)
- Last Synced: 2025-02-08T07:27:46.101Z (8 months ago)
- Language: JavaScript
- Homepage: http://paularmstrongdesigns.com
- Size: 162 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Usage:
$(document).ready(function() {
$('form input').labelover();
});Add CSS:
.labelover { position: relative; }
.labelover label {
position: absolute;
z-index: 1;
top: 2px;
left: 4px;
}
.labelover input {
position: relative;
margin: 0;
}