I would like Firefox to display XML document trees in a monospace font, instead of using the default proportional serif font.
For a single document I can do this from the menu View->Page Style->Monospace, but it falls back to the default if I reload the document or fetch a new one.
Is there a way to permanently change the font used for rendering XML document trees in Firefox without affecting the way non-XML documents are rendered?
Best Answer
Note: The following solution will also affect the
View Source
browser.C:\Program Files\Mozilla Firefox\res\viewsource.css
font-family: monospace;
to the*|*:root
block.Example (truncated file):