Skip to content

CSS Font-Size and Font

March 1, 2009
tags:

There is an odd issue with font-size: and font: in css. I am using the cutline pro 1.4 theme on my eve-blog, and edited the comment section of that theme. IE8 and Google Chrome both showed the fonts real small where as Firefox 3 picked it up the way I intended. Turns out the font: description was not overwritten by font-size in the css file.

Original

body {
     font: 62.5% Georgia, "Times New Roman", Times, serif; 
}

comment {
      font-size: 1.4em;
}

Cleaned up:

body {
	font-size: 62.5%;
	font-family: Georgia, "Times New Roman", Times, serif; 
}

And now it’s fixed ;).

Advertisements

Comments are closed.

%d bloggers like this: