As was foretold, we've added advertisements to the forums! If you have questions, or if you encounter any bugs, please visit this thread:

Specifying different stylesheets for Firefox 2 vs Firefox 3

HeartlashHeartlash Registered User regular
edited July 2008 in Help / Advice Forum
Hey all,

I'm currently developing a few websites and have noticed that firefox 3 and firefox 2 seem to have small differences in the way they render height and width. I was wondering if anyone knew of a way to specify different CSS stylesheets for each version. I know this can be done with IE using the following method:

in the head section:

<!-- [if lte IE 6]>
link to stylesheet

<!-- [if IE 7]>
link to stylesheet

Any methods anyone is aware of would be greatly appreciated.


My indie mobile gaming studio: Elder Aeons
Our first game is now available for free on Google Play: Frontier: Isle of the Seven Gods
Heartlash on


  • Options
    bowenbowen How you doin'? Registered User regular
    edited July 2008
    You're most likely not going to be able to get away with it with straight CSS.

    Try some JavaScript (will not always work though if someone's got it disabled):

    bowen on
    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • Options
    FyreWulffFyreWulff YouRegistered User, ClubPA regular
    edited July 2008
    Here's what all changed in the CSS

    Although it's also been shown that more than 50% of people have upgraded from 2 to 3, so in a while you probably won't even have to care about 2.

    FyreWulff on
Sign In or Register to comment.