Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use no break space to prevent reflowing of text #150

Open
jrbowden opened this issue Feb 19, 2024 · 1 comment
Open

Use no break space to prevent reflowing of text #150

jrbowden opened this issue Feb 19, 2024 · 1 comment
Labels
Best practices - styling Issue for the best practices styling document Best practices - tagging Issue for the best practices tagging document Topic - css

Comments

@jrbowden
Copy link
Collaborator

As originally mentioned in #51, there should be a way to prevent reflowing of certain text in specific cases.
For example, the string "chapter 3" or when there is a unit of measurement "25 m", it is desirable to prevent the number or unit being broken across a line break.

The no break space character   (U+00a0) provides this functionality. Therefore propose that it may be used to prevent the separation of words across a line break.

Example:

"for further information, see chapter 4."

Example, a telephone number:
"Telephone 0123 4567."

However, see also #79 that the ordinary braille space character (U+2800) normally is not a word break character.

@bertfrees
Copy link
Member

Missing an example of this in the styling best practices document.

@mattgarrish mattgarrish added Best practices - styling Issue for the best practices styling document and removed use case labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Best practices - styling Issue for the best practices styling document Best practices - tagging Issue for the best practices tagging document Topic - css
Projects
None yet
Development

No branches or pull requests

3 participants