HTML Help Forum Index HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

Font size in mozilla versus explorer
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
thompsma



Joined: 26 Sep 2008
Posts: 11

Posted: Tue Sep 30, 2008 1:15 pm     Font size in mozilla versus explorer  

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



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

Posted: Tue Sep 30, 2008 3:03 pm      

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

Posted: Tue Sep 30, 2008 3:51 pm     nope - didn't help  

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

Posted: Tue Sep 30, 2008 10:19 pm      

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



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

Posted: Wed Oct 01, 2008 10:04 am      

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

Posted: Wed Oct 01, 2008 1:01 pm     <font> tag  

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

Posted: Wed Oct 01, 2008 2:55 pm      

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

Posted: Fri Oct 10, 2008 1:09 pm     Close Font Tag  

Make sure you have closed all of your font tags. Firefox does not react well if you don't.
 
 
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum Index -> CSS
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group