I'm going to guess that you're using kde as your desktop environment. But Firefox is a gtk+ application, and doesn't obey qt desktop settings like fonts and such.
There is a package that lets gtk apps use the qt rendering engine, so that you can have a unified look. The package is called
gtk-qt-engine. Install that and your programs should match better.