View Single Post
Old 08-12-2023, 08:40 AM   #3
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,671
Karma: 109269703
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
There are five Generic fall back font-family names:
  1. serif
  2. sans-serif
  3. monospace
  4. cursive
  5. fantasy
Mobi format only supports the first three (and has no separate CSS anyway).
Each also can be normal, italic, bold or italic bold.
Oblique is a special decoration, not needing an italic font. Cursive is also unrelated to italic. Note that some letters in an italic font are a different style, depending on font. Oblique simply slants the selected font.

There is a hyphen and no quotes.
Quotes are only used on other fonts that have a space in the name.

Examples
https://www.w3schools.com/Css/css_font_fallbacks.asp
CSS
Code:
body {
  font-family: "Courier New", Courier, monospace;
}

Last edited by Quoth; 08-12-2023 at 08:50 AM.
Quoth is offline   Reply With Quote