JavaScript and client side scripting.
Moderator: General Moderators
nigma
DevNet Resident
Posts: 1094 Joined: Sat Jan 25, 2003 1:49 am
Post
by nigma » Fri Sep 26, 2003 9:20 pm
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?
JAM
DevNet Resident
Posts: 2101 Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:
Post
by JAM » Sat Sep 27, 2003 6:50 am
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.
nigma
DevNet Resident
Posts: 1094 Joined: Sat Jan 25, 2003 1:49 am
Post
by nigma » Sat Sep 27, 2003 10:46 am
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 » Mon Sep 29, 2003 2:49 pm
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 » Mon Sep 29, 2003 2:54 pm
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.
nigma
DevNet Resident
Posts: 1094 Joined: Sat Jan 25, 2003 1:49 am
Post
by nigma » Mon Sep 29, 2003 10:58 pm
Thanks a bunch.