CSS Font-Size and Font

2009 March 1
tags:
by ericdotnet

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 ;) .

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS