I am working on WordPress that will allow the site administrator to switch between sans-serif and serif fonts.
I am trying to encode a stylesheet so that the font sizes are the same regardless of whether or not they choose Georgia versus Arial.
The problem is that when it looks good on me with a serif font, it looks too big when in sans-serif. When I then tweak it to look beautiful in a sans-serif font, it looks too small in the serial.
Is there an ideal font size and line height that works well with both serifs and serifs?
Or do I need to make separate style sheets (serf version and sans-serif version)?
PS I set the base font size on the body to 12 pixels, and then set the remaining font sizes as a percentage of the base. Of course, this basic font size can be set in ems or as a percentage, because interest rates will still scale proportionally.
source
share