1 of 2
1
Issue with FF 2 for Mac font-size
Posted: 11 March 2008 08:48 AM   [ Ignore ]  
Research Assistant
RankRankRank
Total Posts:  423
Joined  03-23-2004

My code validates both in the xhtml and css W3C validator.

GreenCurrent.Net

All browsers except for FF 2.0 for Mac are rendering my font-size correctly. Can anyone else see the difference in font-size between FF 2 for Mac and all other browsers?

I really have no clue what this could be about.

Profile
 
 
Posted: 11 March 2008 02:54 PM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  30
Joined  08-31-2007

I could be wrong, its happened before, but wouldn’t the difference be because of the defaults on your browser? You have the size set to 100%, so I can’t see any other reason.

 Signature 

Fort Worth Web Design | 7sparks

Profile
 
 
Posted: 11 March 2008 04:33 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
RankRankRank
Total Posts:  423
Joined  03-23-2004

yes, I did think of this but I am experiencing this on two different installations of which at least one was a fresh and unaltered install. What I find odd is that the font size is correct outside the #outer_wrapper.

Profile
 
 
Posted: 11 March 2008 05:04 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  779
Joined  12-01-2002

It looks fine between my Safari ( 3.0.4) and FireFox (2.0.0.4) see attached image. Safari is on the left and Firefox the right.  In fact, with the exception of FireFox starting the display a bit lower than Safari they look almost exactly the same.

Image Attachments
greencurrent.jpg
Click thumbnail to see full-size image
Profile
 
 
Posted: 11 March 2008 05:20 PM   [ Ignore ]   [ # 4 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6610
Joined  04-15-2006

Sorry to say that here on Safari - 3.0.4 and Firefox - 2.0.0.12 I am seeing the problem that you are seeing.

Not too sure what it is though. Both the browsers have the default Times 16 set so nothing there I’m afraid. Have you tried doing an exceptionally simple template with just the one piece of text on with a class assigned and see if it still does it?

Image attached with Safari on the left, Firefox on the right.

Hope you get it sorted soon.

Best wishes,

Mark

Image Attachments
Safari-Firefox.jpg
Click thumbnail to see full-size image
 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 11 March 2008 07:10 PM   [ Ignore ]   [ # 5 ]  
Research Assistant
RankRankRank
Total Posts:  423
Joined  03-23-2004

Hi Mark, this is precisely the issue I am experiencing. Thanks for uploading the images, I am currently away from my workspace and couldn’t do it myself.

I am a bit clueless but I am most certainly giving your suggestion a go now!

Profile
 
 
Posted: 11 March 2008 07:56 PM   [ Ignore ]   [ # 6 ]  
Research Assistant
RankRankRank
Total Posts:  423
Joined  03-23-2004

http://www.greencurrent.net/styles/test

It renders the code outside the #outer_wrapper normally. The strangest part is that when I copy the text out of the browser into textedit, the font-family is Helvetica, not Arial.

Profile
 
 
Posted: 12 March 2008 02:18 AM   [ Ignore ]   [ # 7 ]  
Summer Student
Avatar
Total Posts:  21
Joined  02-10-2008

I think, you’re using too many different “values” for the same category font-size: “x-small” for “body”, 0.9em for #outer-wrapper, 85% for #navbox ul. Some browsers don’t “understand” some combinations of these values correctly.
Anyway, I don’t understand what’s the problem. Do you want to make the font size in #outer-wrapper bigger, just the size outside of it? The font size within the #outer-wrapper is set to 0.9em, so the text has to be smaller than outside it (set to x-small).

 Signature 

http://www.serafico.net

Profile
 
 
Posted: 12 March 2008 04:57 AM   [ Ignore ]   [ # 8 ]  
Research Assistant
RankRankRank
Total Posts:  423
Joined  03-23-2004

You can see the problem in Mark Bowen’s screenshots a few posts up. Every browser so far has rendered the font-size (IE6/7, FF2, Opera on Windows, Safari on the Mac and FF 3).

Ok, I have simplified it even further and FF2 Mac still seems to be getting the font-family wrong. Hmpf.

Profile
 
 
Posted: 12 March 2008 05:02 AM   [ Ignore ]   [ # 9 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6610
Joined  04-15-2006

Hi again,

Exactly how simple have you made it. Have you tried with an absolute bare bones template with nothing in except for the html doc declaration a really simple piece of CSS :

my-text-class {
font
-size: 1.2em;
}

and some simple html :

<p class="my-text-class">Some text to check</p>

then check that in both browsers and see what happens?

Do your text styles that are giving you the problems have anything weird in them? As serafico states though some browsers do have problems with certain combinations of css styles so it could just be that.

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 12 March 2008 05:09 AM   [ Ignore ]   [ # 10 ]  
Research Assistant
RankRankRank
Total Posts:  423
Joined  03-23-2004

Hm, the simplified template can be found here.

FF 2.0 has always managed to get the font-size combinations right which is why this comes as a surprise. Let me check again

Profile
 
 
Posted: 12 March 2008 05:16 AM   [ Ignore ]   [ # 11 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6610
Joined  04-15-2006

Hmm are you editing this as I test it wink

When I first went there the page was green then I tried in Firefox and nothing showed up then back in Safari bits of the text have disappeared and the page has gone white.

Perhaps try taking out the reset.css file for now and see what that does?

Best wishes,

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 12 March 2008 12:14 PM   [ Ignore ]   [ # 12 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  421
Joined  06-24-2007

Can you try specifying a line-height value for the prolematical content?

 Signature 

Rob - http://www.blue-dreamer.co.uk/ - because I like blue!

Profile
 
 
Posted: 12 March 2008 12:39 PM   [ Ignore ]   [ # 13 ]  
Research Assistant
RankRankRank
Total Posts:  423
Joined  03-23-2004

It’s got a line-height now! grin

Profile
 
 
Posted: 12 March 2008 07:00 PM   [ Ignore ]   [ # 14 ]  
Research Assistant
RankRankRank
Total Posts:  423
Joined  03-23-2004

Still the wrong size though. This is getting really interesting!

Profile
 
 
Posted: 13 March 2008 02:16 PM   [ Ignore ]   [ # 15 ]  
Summer Student
Total Posts:  19
Joined  03-06-2008

I’ve never really used keywords myself for font-sizing…

Can everyone please post their screen resolutions?

I was wondering maybe that’s a deciding factor here and a quick look at the spec gives me a maybe:
http://www.w3.org/TR/REC-CSS2/fonts.html#font-size-props
On absolute-size (err I called them keywords above):

On a computer screen a scaling factor of 1.2 is suggested between adjacent indexes; if the ‘medium’ font is 12pt, the ‘large’ font could be 14.4pt. Different media may need different scaling factors. Also, the user agent should take the quality and availability of fonts into account when computing the table. The table may be different from one font family to another.”

I’m not even on a mac myself, though so can’t contribute in that regard.

 Signature 

Abed Islam - FusionLab

Profile
 
 
Posted: 13 March 2008 07:10 PM   [ Ignore ]   [ # 16 ]  
Research Assistant
RankRankRank
Total Posts:  423
Joined  03-23-2004

Hm, I guess I will have to read up on this. My screen resolution is 1024x768 (12” Powerbook).

Profile
 
 
Posted: 13 March 2008 08:52 PM   [ Ignore ]   [ # 17 ]  
Summer Student
Total Posts:  19
Joined  03-06-2008
current - 13 March 2008 07:10 PM

Hm, I guess I will have to read up on this.

I was just throwing it out there. If I’m on to something I think it’d be a first for plenty of us. I’ve never had to go beyond resetting a base font size to 16px (down to 10px via percentages for easier use of ems) and a number of people have said their font settings are already there.

Another thing that came to mind is what if you somehow have different versions of the font family? I can’t imagine how you’d have a version of Arial that would result in a different font-size via absolute-size… conflicting software suites… don’t know.

Asides from those two and OS/browser versioning I’m totally stumped.

 Signature 

Abed Islam - FusionLab

Profile
 
 
Posted: 13 March 2008 10:00 PM   [ Ignore ]   [ # 18 ]  
Research Assistant
RankRankRank
Total Posts:  423
Joined  03-23-2004

Hm, well, what strikes me is that Firefox 2.0.0.4 renders the font-size correctly while Firefox 2.0.0.12 doesn’t. Perhaps its a bug?

Profile
 
 
   
1 of 2
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65087 Total Logged-in Users: 33
Total Topics: 82228 Total Anonymous Users: 17
Total Replies: 441927 Total Guests: 226
Total Posts: 524155    
Members ( View Memberlist )