dolphin <[email protected]> wrote: > On Jan 5, 2:04 pm, Boris Zbarsky <[email protected]> wrote: > > > Is it possible for me to look up this kind of question > > > somewhere in my system without having to ask such > > > kind of question in a news group? > > > > You could look at what your FontConfig does with "monospace", sure. > > > > -Boris > > Hi! > > Apparently "monospace" is not a real font but a placeholder > for a font. But why a software like firefox cannot make it > clear that "Courier" is a font and "monospace" is a placeholder?
You might want to read the CSS definition of generic font families: http://www.w3.org/TR/2009/CR-CSS2-20090908/fonts.html#generic-font-families The keywords 'serif', 'sans-serif', 'cursive', 'fantasy', and 'monospace', when used as an UNQUOTED font-family: value, are "placeholders" (as you put it) for some user-selected system font. You can force the browser to look for a font whose name actually is e.g. "monospace" by writing font-family: "monospace" instead of font-family: monospace but this doesn't guarantee the effect you seem to want, either -- if there is no such font, the browser will fall back to the default body font, which is generally not fixed-width. zw _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

