1

与我的第一个问题有关。CSS span 类不会在 XML 中验证。

 <l rend="indent"> <span class="face_dropcap_ ">C</span><hi rend="initial_roman">E</hi>stoit alors que le prefent des <span class=".face_cap">D</span>ieux</l>

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;

}

/*face_cap style is for the capital letters that are non-italic in the body of the poem*/
.face_cap_{font-size: 3em; 
font-family: Palatino,serif;
font-weight: normal;
line-height: 100%;
float: left; 
margin-right: 5px; 
text-align: center;
font-style: normal;}
4

2 回答 2

0

这可能是因为你在类的值中有一个点......

<span class=".face_cap">
于 2016-02-03T06:32:58.547 回答
0

此外,XHTML 5 规范中似乎不再定义 <l> 元素: https ://www.w3.org/TR/html5/

于 2016-02-04T06:11:38.653 回答