PDA

View Full Version : font size difference in IE and FF


jcdevelopment
02-05-2008, 05:24 PM
Hey all, I am having a small problem with an area that is a restricted width, and in there is a link. In IE it works fine as 8px. Unfortunately the font size is bigger in FF. I'm not exactly sure why this is happening but is there a way to tell FF to possibly make the font smaller, lets say 7 or 8 pixels big?

here is the code so if you want you can work with it..



.options a {
font-family:Arial, Helvetica, sans-serif;
font-size:8px;
color:#666666;
text-align:center;
margin: 0 auto;
display:inline;
}



Thanks for any help guys!!

Apostropartheid
02-05-2008, 05:28 PM
First, check whether Firefox has had its base font size heightened.

Have you tried setting it in ems?

jcdevelopment
02-05-2008, 05:32 PM
no i havnt but what would be the equivelant of 8px's to em's, do you know by any chance. Im sorry i dont ever work with em's, although i should!

Apostropartheid
02-05-2008, 05:40 PM
~ .5em

jcdevelopment
02-05-2008, 07:09 PM
thankyou, that did help!!