1

私の最初の質問に関連しています。CSS スパン クラスは 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

また、 <l> 要素は XHTML 5 仕様ではもう定義されていないようです: https://www.w3.org/TR/html5/

于 2016-02-04T06:11:38.653 に答える