Page 1 of 1

CSS + font-size / font-family & Mozilla

Posted: Fri Sep 26, 2003 9:20 pm
by nigma
Hey, if you look at my personal page (http://nigma.nigmanet.net) in IE and then look at it in Mozilla you can see that the font-family is not only different but also the font-size.

Anyone know why the font-family / font-size properties values would take affect in IE and not in Mozilla?

Posted: Sat Sep 27, 2003 6:50 am
by JAM
I recall that the font-size unit em is something that is somewhat the same on both (all?) browsers. But dont hold it against me. ;)

Posted: Sat Sep 27, 2003 10:46 am
by nigma
Alright, I check that out, right now I am using px.

Posted: Mon Sep 29, 2003 2:49 pm
by Unipus
Looks like you're using mixed ems and pixel sizes, which probably isn't a good idea.

Posted: Mon Sep 29, 2003 2:54 pm
by microthick
I find that specifying font sizes in pt rather than px lessens the difference between browsers.

Usually, I'll stick to font-size: 9pt; and that works great for me.

Posted: Mon Sep 29, 2003 10:58 pm
by nigma
Thanks a bunch.