The word “Psychotherapeutic” shows up like this on my friends phone for the website I made for them.
The root of the problem is that the word is longer than the screen width. Is decreasing font size the only way to solve this across devices?
You want the special soft-hyphen
­symbol for this specific case.Psycho­therapeuticI didn’t even know this existed. Thanks, that’s great!
Wow I can’t believe there’s already something in html just for this. This one’s really good to know—kind of an anti-
I think the opposite of the nonbreaking space is
‌, zero-width non-joiner.I thought I had a pretty good grasp of these, but you’re blowing my mind. I love html
Others wrote good advice. Still, I’d decrease the heading font size as well, on extra-small screens at least.
Yes, I’ve done this too since there will be many more pages created in future by people who don’t know HTML codes or CSS. Thanks.
Through CSS I’m guessing? Something that dynamically resizes the type as the window shrinks/grows?
Yes. I used this:
@media screen and (max-width: 375px) { h1 { font-size: 28px !important; } }
hyphens: auto;could work.Noted, thank you.


