View Single Post
Old 08-12-2011, 04:12 AM   #7
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
By the way, <i> is deprecated (or disencouraged) because rather than specifying the style in the HTML you are supposed to specify why it needs a different style, and then specify the style in CSS. Something like this:

Code:
And then I found <em>him</em> on board the <span class="ship">Furious</span>, during the <span xml:lang="fr">hors-d'œuvres</span>.
even if all of them will be shown in italics:

Code:
em, span.ship, :lang(fr) { font-style: italics; }
they might be different in text-to-speech, for instance.

P.S. One might need more nesting levels:

Code:
em em, em span.ship, em :lang(fr) { font-style: normal; }
:lang(fr) em, :lang(fr) span.ship { font-style: normal; }

Last edited by Jellby; 08-13-2011 at 03:28 AM. Reason: oops, font-family -> font-style
Jellby is offline   Reply With Quote