how do i justify text with math
Posted on 2008-10-21
I need to write an algorithm that will full jusity a number of text links along a line in action script. i can read any programming language so information in any language is appreciated.
The idea is this:
if therer are 5 links of various sizes that are situated on a menu that can be 600 pixels wide, i need to center then and adjust the spaces between each item such that the fill the available horizontal area. Dont worry about what happens if they over fill the available space.