Andrew Channels Dexter Pinion

Wherein I write some stuff that you may like to read. Or not, its up to you really.

May 02, 2002

Cross Platform

Today I've managed to make Mozilla look nice on KDE. Its not as simple as it sounds as it doesn't act like a native application. The window borders conform to whatever desktop set up you have, but the button, menu and associated text items use a really ugly and quite large font.

I spent ages going through the preferences dialog to no effect. Then a random Google picked up a vein of useful information. You change the look and feel of your browser window using cascading style sheets. For more information see the Customizing Mozilla page. Of course, this being Mozilla there isn't a definitive list of the options and what they will affect so experimentation is the key.

For the curious, just to get rid of the hideous font in the application, just create a file called userChrome.css in the directory $HOME/.mozilla/<profile name>/<random name>/chrome. Mine simply contains a comment and then;

* {
  font-family: "Helvetica" !important;
  font-size: 12px;

Posted by Andy Todd at May 02, 2002 04:24 PM