ruler.js is a jQuery plugin to generate horizontal & vertical rulers for web layout design that can be used to position HTML elements precisely. It also has the ability to display the current x/y coordinates as you hover and move the mouse. Dual licensed under the MIT & GPL licenses.