2016-01-05 21 views
0

CSS代碼:在進行TEI時,無法獲得css span class以便使用drop cap工作。它不驗證也不工作

.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> 

喜雷德工作正常,但是當我嘗試嵌入一個跨度類做的XML下沉,它不會工作。

感謝您的任何提示!

+0

您好再次,雖然跨度類的工作並不在XML驗證。 EE stoit alors que le les des des span class =「。face_cap」> D ieux – Daria

回答

2

你必須指定在這樣的HTML標記的類名:

<span class="face_dropcap_">C</span> 
+0

Ahh,<對我很愚蠢。我在html/xml中加入了.face_dropcap_之前的時間段。只需修復它並讓它起作用。感謝您的快速反應和簡單的抓住! – Daria

+0

現在你可以接受答案:)。 –