Is there a CSS style or a JS library that can be used to prevent weird one word on second line problems? For instance, suppose a div fits this sentence perfectly:
Sign up now and start today!
But then when translated into French, looks like this:
Inscrivez-vous et commencer
maintenant!
I would prefer that the sentence be split equally balanced, like this:
Inscrivez-vous et
commencer maintenant!
I can't manage these with line breaks arbitrarily, I need a CSS or JS library that just fixes them.