我的文档中有大量的地方,我使用跨度来封闭对话框,可以看到here
但在某一特定情况下,无法识别结束范围,整个段落被视为要跨越的部分的一部分。正是这一点,在第24章的中间
<p><span class="dauphin" title="The Dauphin (the King) is speaking">"Kin any of you gentlemen tell me wher' Mr. Peter Wilks lives?"</span> they give a glance at one another, and nodded their heads, as much as to say,
&#39;什么d&#39;我告诉你了吗?&#39;然后其中一个人说,有点软和温柔:
.dauphin {
color: orange;
}
如果我把这个HTML和CSS拉出来并在一个单独的小提琴中运行它看起来很好;只是&#34;就地&#34;它失败了;所以这里有一些背景:
<p><span class="dauphin" title="The Dauphin (the King) is
speaking">"If gentlemen kin afford to pay a dollar
a mile apiece to be took on and put off in a yawl, a steamboat kin afford to
carry 'em, can't it?"</span>
</p>
<p>So they softened down and said it was all right; and when we
got to the village they yawled us ashore.
About two dozen men flocked down when they see the yawl a-coming, and the
the king says:</p>
<p><span class="dauphin" title="The Dauphin (the King) is spea
king">"Kin any of you gentlemen tell me wher' Mr. Peter Wilks lives?"</span> they7
give a glance at one another, and nodded their heads, as much as to say
'What d' I tell you?' Then one of them says, kind of soft and gentle:
</p>
<p><span class="others" title="Someone other than the primary
characters is speaking">"I'm sorry sir, but the best we can do is to tel
you where he <em>did</em> live yesterday evening."</span>
</p>
为什么它失败了,相同类型的数百种其他用法完美无缺?
答案 0 :(得分:2)
完美地为我工作,同样的一堆代码。