Changing the Font on a Webpage

Wednesday, June 14th, 2006 @ 9:06pm. Category: General, Mozilla.

As some of you know, I really disliked the Tahoma font used in the Slashdot redesign. I went about changing that via the userContent.css file in my SeaMonkey profile’s chrome folder. This should work for Firefox, Mozilla, ect.

Add this bit to your userContent.css file to change the font for Slashdot:

@-moz-document domain(slashdot.org)

{
  body
  {
    font: Arial !important;
  }
}

You can use this technique for any site, really. There’s not much documentation about what you can do with the userContent.css file, so I’ll update whenever I find something nifty (or, rather, when I find something that bothers me enough to change it).

Follow any responses to this entry with the RSS 2.0 feed.

You can post a comment.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*