CSS 代码:
.face_dropcap_ {
font-size: 3em;
font-family: Palatino,serif;
font-weight: normal;
line-height: 100%;
float: left;
margin-right: 5px;
text-align: center;
font-style: normal;
}
<l rend="indent"> <span type=".face_dropcap_">C</span><hi rend="initial_roman">E</hi>stoit alors que le prefent des Dieux</l>
hi rend 工作正常,但是当我尝试嵌入一个 span 类来在 xml 中做首字下沉时,它不起作用。
感谢任何提示!
最佳答案
您必须像这样在 HTML 标记中指定类名:
<span class="face_dropcap_">C</span>
关于html - 在执行 TEI 时,无法让首字下沉的 css 跨度类起作用。它既不验证也不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34611937/