Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-05-2007, 02:50 PM   PM User | #1
angst
Senior Coder

 
angst's Avatar
 
Join Date: Apr 2004
Location: Toronto, Ontario
Posts: 2,112
Thanks: 15
Thanked 122 Times in 122 Posts
angst is on a distinguished road
Conditional Comments for FireFox Mac?

Hello,

I've built a site that looks great in every browser except for FireFox Mac,

does anyone know of a conditional comment method that will target firefox mac?

any ideas would be great,

thanks in advance for your time!
-Ken
angst is offline   Reply With Quote
Old 10-05-2007, 03:39 PM   PM User | #2
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Chances are if you site doesn't look the way you wanted it to in Firefox then there is likely something wrong with your code.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 10-05-2007, 03:45 PM   PM User | #3
angst
Senior Coder

 
angst's Avatar
 
Join Date: Apr 2004
Location: Toronto, Ontario
Posts: 2,112
Thanks: 15
Thanked 122 Times in 122 Posts
angst is on a distinguished road
well it looks prefect in firefox windows, ie 6, ie 7, safari & opera.
just not FF Mac. I've gone over the code several times. and evrything should be fine.

so I'd say that there's some specific issue with FF on Mac.

but thanks for the criticism anyway.
angst is offline   Reply With Quote
Old 10-05-2007, 04:28 PM   PM User | #4
vtjustinb
Regular Coder

 
Join Date: Sep 2007
Location: Raleigh, NC
Posts: 273
Thanks: 7
Thanked 59 Times in 52 Posts
vtjustinb is on a distinguished road
FF/mac uses the same rendering engine as FF/win. Are you sure they're the same version of the browser?

I agree with Aero though, across the board FF has better standards support than any IE browser so I'd imagine it's a problem with your code.

Conditional comments are a proprietary windows construct that only applies to internet explorer, so you won't be able to target FF/mac that way. Also, of all the CSS filters that exist there's none that will target FF/mac and not FF/win (since they're the same rendering engine).

Your only option of singling FF/Mac out would be user agent strings, but I still feel like it's just a problem in your code.

Last edited by vtjustinb; 10-05-2007 at 04:38 PM..
vtjustinb is offline   Reply With Quote
Old 10-05-2007, 05:12 PM   PM User | #5
angst
Senior Coder

 
angst's Avatar
 
Join Date: Apr 2004
Location: Toronto, Ontario
Posts: 2,112
Thanks: 15
Thanked 122 Times in 122 Posts
angst is on a distinguished road
Yes, both my PC & Mac are using the exact same version, but the FF on Mac is rendering differently. I thought they would be the exact same engine. but I guess not.
angst is offline   Reply With Quote
Old 10-05-2007, 05:37 PM   PM User | #6
vtjustinb
Regular Coder

 
Join Date: Sep 2007
Location: Raleigh, NC
Posts: 273
Thanks: 7
Thanked 59 Times in 52 Posts
vtjustinb is on a distinguished road
Quote:
Originally Posted by angst View Post
Yes, both my PC & Mac are using the exact same version, but the FF on Mac is rendering differently. I thought they would be the exact same engine. but I guess not.
A link would be really helpful.

I believe I misspoke a little in that the CSS support for FF Win/Mac is exactly the same, but likely there are minor differences in rendering pipelines since they have to use slightly different code bases. Correct CSS code will render the same in both though.

Because of this, I still think the difference you're seeing is related to differences in error-case handling, or differences in how they're handling contradictory or inconsistent CSS usage.

You would really help yourself by sharing your code with us so we can help you, rather than dismissing our instincts of CSS misuse and trying to place it all on browser differences.
vtjustinb is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:07 PM.


Advertisement
Log in to turn off these ads.