Kirk Strobeck Kirk Strobeck - 21 days ago 8
HTML Question

HTML no line break at hyphens

So I have the text

e-commerce
and I don't want the line to wrap at the dash.

How would I restrict wrapping for that text line?

Answer

Use the non-breaking hyphen: ‑

Comments