Hi, everyone:

I have a problem with the font size in our drupal website. When I try to increase the font size of our website, all the "font-size" in the style.css file are 15px or bigger, but the font displayed in the web page looks smaller than that. I wonder what is the problem. I appreciate your help.

Kewei

Comments

dheeraj.dagliya’s picture

Seems like your CSS styles are messed up.
If you have firefox, then use the firebug add-on to see what classes are being applied to the content. This way you can debug.

Also check your Text Size settings from your browser, may be if it is small you can increase that.

Kewei Li’s picture

Thank you, dheeer! I will try.

ishmael-sanchez’s picture

Hey Kewei,

A couple of tips that might help. Default text size of most web browsers is 16px. Use ems rather than px measures because resizing is more consistent. You can get pixel measures from ems by doing some simple math. 16px * .875em = 14px. You can also use the same method to get the line height value.

Check out http://www.alistapart.com/articles/howtosizetextincss for more.