提示Plone中的标题换行符 [英] Hints for title line breaks in Plone
问题描述
HTML是否支持(标题)换行符的任何提示?问题在于,页面标题或导航标题经常出现有趣的断行,因为它们恰好在当前HTML元素间距允许的位置发生断裂。当需要换行时,手动换行会给出更好的视觉效果。
换行提示应该是编辑自己可以输入到< input type = text>
字段。
c $ c>& shy; (软连字符)实体和 < wbr>
标记(HTML5)。请注意,& shy;
会在换行符断开时创建连字符,而< wbr>
不会。
请参阅 http:// www。 quirksmode.org/oddsandends/wbr.html 。
编辑器可以使用& shy;
如果他喜欢破折号( - ),或者&#8203;
,如果他只喜欢一个分词符,就可以打破单词。
Does HTML support any kind of hinting for (title) line-breaks? The problem is that often page titles or navigational titles have funny line breaking, as they happen to break wherever the current HTML element spacing allows. Manual line-breaks would give much nicer visuals, when line-breaks are needed.
The line-break hints should be something the editor can himself/herself enter to an <input type=text>
field.
There's the ­
(soft hyphen) entity and the <wbr>
tag (HTML5) for word break marks. Notice that ­
will create a hyphen if the line breaks, while <wbr>
won't.
See also http://www.quirksmode.org/oddsandends/wbr.html.
So an editor could use ­
for word breaking if he prefers a dash (-), or ​
if he prefers only a word break.
这篇关于提示Plone中的标题换行符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!