Tips for breaking title bar in Plone

Does HTML support any hint of breaks (header)? The problem is that often page names or navigational titles have a fun line break, as they break off wherever the current HTML element interval allows. Manual line breaks provide much more enjoyable visual effects when line breaks are needed.

Tips for line breaks should be what the editor can type into the field itself <input type=text>.

+2
source share
1 answer

There is a tag &shy;(soft hyphen) and <wbr>tag (HTML5) for word break marks. Note that it &shy;will create a hyphen if the line breaks, but <wbr>will not.

See also http://www.quirksmode.org/oddsandends/wbr.html .

Thus, the editor can use &shy;to break the word if he prefers a dash (-) or &#8203;if he prefers only a broken gap.

+4
source

Source: https://habr.com/ru/post/1660824/


All Articles