View Single Post
Old 01-22-2023, 06:01 PM   #8
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 812
Karma: 1538536
Join Date: Sep 2013
Device: Kobo Sage
Code:
<i class="french" lang="fr" xml:lang="fr">
If I'm reading the various references I've found, it looks like you might not need that class in the <i> tags. You could use the :lang pseudo-class to match the languages:

https://developer.mozilla.org/en-US/docs/Web/CSS/:lang

The CSS syntax is:
Code:
:lang(languagecode) {
  css declarations;
}
enuddleyarbl is offline   Reply With Quote