View Ticket
Not logged in
Ticket UUID: aba72eaa589a69b0efc1a2346b429705f7ee59c1
Title: Default CSS style has "wrong" font-family.
Status: Fixed Type: Feature_Request
Severity: Cosmetic Priority:
Subsystem: Resolution: Fixed
Last Modified: 2009-10-11 19:49:45
Version Found In: b99aa66d1f
Description & Comments:
Default CSS style has font family defined as follows:

font-family: "sans serif";

While "sans serif" is an actual name of font in some Linux installations, this doesn't work for e.g. Safari on Mac -- it falls back to the default serif font (Times New Roman).

The proper way to define a generic sans-serif font in CSS, according to CSS specs http://www.w3.org/TR/CSS21/fonts.html#sans-serif-def is this:

font-family: sans-serif;

Note the dash and absence of quotes (from specs: Generic font family names are keywords and must NOT be quoted).


drh added on 2009-10-11 19:49:45:
Check-in adb155b6d490a9ee3f97201cfa5911bbe8908801