CSS + font-size / font-family & Mozilla

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

CSS + font-size / font-family & Mozilla

Post 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?
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post 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. ;)
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

Post by nigma »

Alright, I check that out, right now I am using px.
Unipus
Forum Contributor
Posts: 409
Joined: Tue Aug 26, 2003 2:06 pm
Location: Los Angeles, CA

Post by Unipus »

Looks like you're using mixed ems and pixel sizes, which probably isn't a good idea.
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post 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.
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

Post by nigma »

Thanks a bunch.
Post Reply