In html - keep phone number on same line without word wrapping at the hyphen

This is an annoyance; in my web pages, the text of a phone number at the end of a line will wrap at the hyphen, and I like to keep the phone number together. How do I keep the number together on the same line including the hyphens?
Who is Participating?
Have you tried the CSS nowrap property around the phone number?
<span style="white-space:nowrap">1-800-555-100</span>
can i see the page(s)? or can you post the code here?
epaynedsmAuthor Commented:
It happens on any page where the phone number will not fit at the end of a line, so it wraps automatically at the hyphen.
epaynedsmAuthor Commented:
Ah... that is it, Rouchie. Thank you so much!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.