Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I defined in my CSS file font-size property for the body

body {
  font-size : 12px;

I wanted to have the size of font the same as in http://www.stackexchange.com site.

It works in chromium browser but does not work in firefox. The size of font in firefox is bigger.

Where could be the problem?

thank you

share|improve this question
Can you give a link to your site? It's easier to answer your question then. – paulmorriss Apr 27 '11 at 8:28
Are you sure you haven't actually told Firefox to do this, either via Zoom or a minimum font size? – Su' Apr 27 '11 at 9:10
@paulmorriss I have it only localy. – xralf Apr 27 '11 at 9:12
@Su' But stackexchange is OK in size. Is it possible that firefox applied zoom only to some pages and remembers this option for a long time? I sometimes change the keyboard and press zoom by mistake. – xralf Apr 27 '11 at 9:14
You can reset the zoom (on version 3) by choosing View->Zoom->Reset. On v3 and v4 you can press ctl and zero to reset it. – paulmorriss Apr 27 '11 at 9:27
up vote 3 down vote accepted

This turned out(see comments) to have been Firefox stashing a value for page zoom. Can be reset with Ctrl-0.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.