I am working on an e-commerce site in which post and product titles will need to be displayed in fairly narrow divs. I would like to set a specific font size for words which can naturally fit in the space provided, while instructing words which are too long for the parent object's width to scale down automatically, thus avoiding the need for hyphenation. It seems someone must have thought of a way to do this before but I have been unable to find any solutions on the web. The closest I've found to an answer is the BigText jQuery plugin, but this is really designed for situations where you can predict your own line breaks. Since my titles will be queried by Wordpress and inserted altogether into divs, this plugin would shrink my texts until every word could fit on one line, which is not what I'm looking for. Please let me know if you have any suggestions. Thanks so much your time! Best, Jonathan

Thanks a lot Geert! This is extremely helpful. I also discovered a plugin which uses jQuery to adjust the font size so the text always fills the entire element. Between these two solutions, I think my troubles are solved! Thanks so much! Here's the link to jQuery plugin: stackoverflow.com/questions/687998/…
–
jfudemJun 17 '12 at 18:04