I have a lot of h2 headings in one of my websites. While most of those headings are "balanced" (this is a word I made up, since I have no better way to explain this), some are not balanced and look awful.
This is an example, which should make it clear:
(Arrow shows the orphan word).
As you can see in the image above, the first heading has an orphan word with a long first line, while the second heading is more proportionate.
Is there a way to achieve this effect without having to add <br>
tags in my headings?
I know that I could just resize the heading container using a width attribute, but the problem doesn't go away since what I'm trying to avoid is those orphan words.
I'm not even sure if there's a solution to this, but it's something I've been wondering for some time.