gpt4 book ai didi

html - 在执行 TEI 时,无法让首字下沉的 css 跨度类起作用。它既不验证也不工作

转载 作者:太空宇宙 更新时间:2023-11-04 02:41:38 25 4
gpt4 key购买 nike

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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com