Kirk Strobeck Kirk Strobeck - 11 months ago 63
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 Source

Use the non-breaking hyphen: ‑