Character Justify Plugin

Example of Character Justification plugin
I’ve updated my Character Justify Plugin. I could go into detail but to put it simply I’ve worked to improve the alignment on the right edge particularly when there are spaces between words in the same element. Previously I was trying to deal with the extra letter spacing caused by multiple words by subtracting an arbitrary percentage from the width that I’d stretch the letters to. Now I’m replacing the spaces with a character of fixed size (”_”) when calculating the width of the elements.
The example has been updated to show this and I’ve tweaked the animation example to so that the animations on each element don’t get out of sync.
Happy Justifying!
Tags: alignment, character justification, Character Justification JQuery plugin, Javascript, JQuery, jquery plugin, jquery.charjustify, js, justification, text-align justify, text-justify newspaper, web development

April 6th, 2009 at 3:59 pm
[...] weblog of Tom Martin « RSS issue update Character Justify Plugin [...]