wiki (was Re: Some links)

Pete Batard pete at akeo.ie
Thu Feb 9 07:55:14 EST 2012


If you use Firefox, you may have noticed that our <pre> and <code> 
content is a bit smallish. The git related data at the end of the main 
page is a good example of that.
This seems to be due to Firefox being given a choice with regards to the 
monospace font it should use, and doesn't appear to be the case for IE 
and possibly other browsers.

While this can be fixed with something like:
   <pre style="font-family: 'Courier New', Courier, monospace;">
it's a bit of a pain to write, and it'd be better adjusted through the CSS.

Can one of the admins edit
http://wiki.libusbx.org/index.php/MediaWiki:Common.css to set the 
monospace font?

I gather than adding something like
   code { font-family: "Courier New", Courier, monospace; }
   pre { font-family: "Courier New", Courier, monospace; }
will probably do it.

Regards,

/Pete



More information about the libusbx mailing list