HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Font size in mozilla versus explorer
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
thompsma



Joined: 26 Sep 2008
Posts: 11

PostPosted: Tue Sep 30, 2008 1:15 pm     Font size in mozilla versus explorer Reply with quote

Hi,

I now have my website working in explorer and mozilla - thanks to previous threads that helped a bunch!! Thank you.

I am trying to mess around with the appearance of my text, but when I make a change to something like:

p {margin-left: 2px; font-size: 15px;}

The effect takes place in explorer but not in firefox. Why? Am I missing some detail about priority in explorer versus firefox in css?

Here is my webpage: http://www.namos.ca

Thanks!
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8428
Location: Castle Pines North, CO USA

PostPosted: Tue Sep 30, 2008 3:03 pm     Reply with quote



See iif Explain Font Size might help some.

_________________
Corey
Toll Free Numbers | Mile High Merchant Accounts | Expression Web Blog
thompsma



Joined: 26 Sep 2008
Posts: 11

PostPosted: Tue Sep 30, 2008 3:51 pm     nope - didn't help Reply with quote

When I change the font size in my css - it takes effect in IE but not in Firefox. Even if I put a drastic change - all that seems to happen in Firefox is a change in the spacing, but the font size stays the same.

Hmmmm...I wonder what is going on?
postalPain



Joined: 30 Sep 2008
Posts: 1

PostPosted: Tue Sep 30, 2008 10:19 pm     Reply with quote

why do you use a tag <font>. It's a old tag, that now don't use.

FF and IE differently calculated font size, when use tag <font>


Thats why you can use the css alternative - property font-size.
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8428
Location: Castle Pines North, CO USA

PostPosted: Wed Oct 01, 2008 10:04 am     Reply with quote

Pixels look more at the user's resolution. Firefox thinks that you (developer) want it at 15 pixels, so why allow the user to change it?

_________________
Corey
Toll Free Solutions | Mile High Merchant Accounts | Expression Web Blog
thompsma



Joined: 26 Sep 2008
Posts: 11

PostPosted: Wed Oct 01, 2008 1:01 pm     <font> tag Reply with quote

Hi - I didn't realize that I used the <font> tag. I may have thrown it in at one point just to see what would happen, but as far as I know I haven't used this. I've been working through my CSS style sheet.

I changed my font-size in the CSS sheet to em and tried also using a percent. This does not change the font size in Firefox - it stays the same no matter what I do. Perhaps there is something wrong with the priority in my style sheet? This is my hunch, but I can't locate the problem.
sticks464



Joined: 31 Dec 2006
Posts: 1283

PostPosted: Wed Oct 01, 2008 2:55 pm     Reply with quote

Which text are you trying to change? The general text in p tags or the a links at the top?
ebrand



Joined: 10 Oct 2008
Posts: 1

PostPosted: Fri Oct 10, 2008 1:09 pm     Close Font Tag Reply with quote

Make sure you have closed all of your font tags. Firefox does not react well if you don't.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial