Automatic line-height – jQuery plugin

My first jQuery plugin: jquery.autolineheight. In a nutshell, this JavaScript adjusts the line-height of a container (such as a div) in proportion to it’s width, relative to the font size.

Demo of jquery.autolineheight.

See the blog entry for docs and download links: Auto line-height: a jQuery plugin for flexible layouts

Oliver Boermans is a design geek in Adelaide, South Australia: ollicle.com is a place for Ollie to rant, reflect and share. Feed