Fit headline (or span) of text onto one line and resize based on container width
Ok, so I have a div that has a few lines of text (all separate items) that need to be about 96% wide and fit inside that div. The containing div is dynamic, with a width based on a percentage of the window size. Resizing the window should re-size the text. I have short entries (for example, "Smith" etc) and long entries (for Example "Smith & Sons, Co." etc) and they all need to be on a single line and fairly sized.
There should be a minimum and maximum size allowed and if the minimum causes a problem it should not wrap the text...
Any help would be greatly appreciated.