Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to specify generic CSS font families

0 views
Skip to first unread message

C A Upsdell

unread,
Jan 23, 2007, 2:02:50 PM1/23/07
to
Background: with CSS one can specify the font family to be used for
text, and the font families include five generic fonts: serif,
sans-serif, cursive, fantasy, and monospace. For example:

p { font-family: cursive; }

Problem: Firefox is selecting a terrible font for the generic fantasy
font, and I can find no way to override it. How can I do it?

Note: this is not a CSS problem, this is a Firefox problem. Firefox
lets you specify the generic serif, san-serif, and monospace fonts, but
it does not let you specify the cursive or fantasy fonts. Opera lets
the user specify any of the 5 generic fonts, and so does Mozilla, but
for some reason the Firefox developers chose to prevent users from being
able to choose.

Note: I found about:config options for specifying many of the generic
fonts, but none for specifying the generic fantasy font, and without the
ability to do do, there is some content in websites that I cannot read.

Brian Heinrich

unread,
Jan 23, 2007, 3:25:13 PM1/23/07
to

Setting fonts for the five generic font families was part of Moz (and, IIRC,
remains part of SM); why it seems to've been hacked out of Fx, I don't know.
. . . :-(

See <https://bugzilla.mozilla.org/show_bug.cgi?id=315801>,
<https://bugzilla.mozilla.org/show_bug.cgi?id=196405>, and
<https://bugzilla.mozilla.org/show_bug.cgi?id=61883> for more info, as well
as for a config hack. . . .

/b.

--
People are stupid. /A/ person may be smart, but /people/ are stupid.
--Stephen M. Graham

squaredancer

unread,
Jan 23, 2007, 3:37:55 PM1/23/07
to
On 23/01/2007 21:25, CET - what odd quirk of fate caused Brian Heinrich
to generate the following:? :
pro'ly "as usual" brian.... it is now a *feature* ;-)

reg

Ron K.

unread,
Jan 23, 2007, 4:49:23 PM1/23/07
to
Tbird Leader Brian Heinrich radioed the tower, On 1/23/2007 3:25 PM:
That is a feature that has also been removed from Tbird since the 0.4
days of yesteryear. May require a user.js entry to push a preference
into prefs.js. Someone doing so will test the Gecko support.

--
Ron K.
Don't be a fonted, it's just type casting

0 new messages