0

I am styling a document marked up in TEI. I would like to render the "Dio" red (choice-sic-hi rend="red-corr"). I have tried the following and the word "Dio" will not render red. Here is the code:

 choice sic hi[rend="red-corr"]{
    color: red;
}
<l n="21">Che fè Sufia, a chi Dio <choice>
<sic>lo cuor <hi rend="red-corr">Dio</hi></sic>
<corr cert="medium" resp="#SPM">lo cuor </corr>
</choice>crevant;<note xml:id="p21"/></l>

I sense I may not understand the syntax. Any suggestions?

Thanks!

Michael Coker
  • 52,626
  • 5
  • 64
  • 64
Steve
  • 3
  • 1
  • the code you provided us with works. be sure to verify the code you're giving us actually reproduces the problem. read here about how to create a [mcve] – Michael Coker May 13 '17 at 16:17
  • Thanks for checking to see nothing is wrong with the code. I'll follow your suggestion! – Steve May 13 '17 at 18:00

1 Answers1

0

It seems to work.

choice sic hi[rend="red-corr"]{
  color: red;
}
<l n="21">Che fè Sufia, a chi Dio <choice>
<sic>lo cuor <hi rend="red-corr">Dio</hi></sic>
<corr cert="medium" resp="#SPM">lo cuor </corr>
</choice>crevant;<note xml:id="p21"/></l>
IiroP
  • 1,102
  • 2
  • 10
  • 14