This question has already been answered:
- hyphenation 4 replies
How to prohibit hyphenation?
Let's say
some text wi-fi if the block is narrow, how to prevent the transfer of fi to another line?
This question has already been answered:
How to prohibit hyphenation?
Let's say
some text wi-fi if the block is narrow, how to prevent the transfer of fi to another line?
A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .
Use instead of the usual hyphen the inextricable ‑ - with normal encoding (utf8), you can simply write it as a symbol in the text ‑ :
p { font-family: monospace; width: 15ch; border: 1px dotted red; float: left; margin: 8px; } <p>wi-fi wi-fi wi-fi wi-fi wi-fi wi-fi wi-fi wi-fi wi-fi wi-fi <p>wi‑fi wi‑fi wi‑fi wi‑fi wi‑fi wi‑fi wi‑fi wi‑fi wi‑fi wi‑fi <p>wi‑fi wi‑fi wi‑fi wi‑fi wi‑fi wi‑fi wi‑fi wi‑fi wi‑fi wi‑fi Source: https://ru.stackoverflow.com/questions/687933/
All Articles