 <p>You can try a <a href="https://github.com/efernandesng/jquery-ui.ruler" rel="nofollow">jquery-ui.ruler</a> . Is a simple jqueryUI plugin that have nive features:</p> <ul> <li>Multiple units (px, mm, cm, in)</li> <li>Three types of ticks (major, minor, micro)</li> <li>Mouse track</li> <li>Supports sub-divs</li> </ul>