Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A jQuery plugin that handles dynamically placing an HTML label over its associated input.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
index.html
jquery.labelover.js

README

Usage:

<script type="text/javascript">
    $(document).ready(function() {
        $('form input').labelover();
    });
</script>

Add CSS:

<style type="text/css" media="screen">
    .labelover { position: relative; }
        .labelover label {
            position: absolute;
            z-index: 1;
            top: 2px;
            left: 4px;
        }
        .labelover input {
            position: relative;
            margin: 0;
        }
</style>
Something went wrong with that request. Please try again.