Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 796867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:42:28+00:00 2026-05-14T22:42:28+00:00

I think everything agrees with me here, but IE is the most incompatible browser

  • 0

I think everything agrees with me here, but IE is the most incompatible browser out there.

I deal with ie’s incompatibility using different particular css files for each version, to display it correctly?

Is there a better way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T22:42:28+00:00Added an answer on May 14, 2026 at 10:42 pm

    The advantage of using different CSS files with <!–[if IE]> filters is that you can write 100% compliant CSS, whereas hacks will make your CSS invalid.

    On the other hand, the advantage of using CSS hacks to have only one CSS file is download efficiency.

    Still, I prefer filters. Using the paradigm below helps me keep my browser specific CSS organized, and leveraging the “cascade” along with equivalent “specificity” is the easiest way that I have found to deal with browser inconsistencies. Don’t forget you can also include javascript specific to IE in these filters to juice up your IE experience.

    
    <link id="stylesheet1" rel="stylesheet" href="css/style.css" type="text/css" media="all" />
    <!--[if IE]>
    <link id="stylesheet2" rel="stylesheet" href="css/ie.css" type="text/css" media="all" />
    <![endif]--> 
    <!--[if lte IE 6]>
    <link id="stylesheet3" rel="stylesheet" href="css/ie6.css" type="text/css" media="all" />
    <![endif]-->

    The other great thing about this filter paradigm is that you isolate your code written for aging browsers that will one day become obsolete. For example, does anyone care about IE 5 anymore? Those files aren’t slowing anything down, because they are only downloaded on an as-needed basis, and they are less needed over time. I’d rather have it this way versus having my obsolete code intertwined with my standards compliant code.

    However, what about browsers other than IE such as Safari or Firefox? Well, try to write CSS code that works the same accross Chrome/Safari/Firefox and I rarely need a specific hack for one of them, but for some stuff I have used browser specific CSS extensions.

    Another option is javascript browser selectors:

    http://rafael.adm.br/css_browser_selector/

    Lastly, I briefly looked at S.O. and they don’t seem to be using IE filters. They have one CSS file, which they have cleverly hosted on a cookieless domain for performance:

    http://sstatic.net/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I think most people here understand the importance of fully automated builds. The problem
You are my last hope. I think read everything about it but I don't
I think most people know how to do this via the GUI (right click
I think this is specific to IE 6.0 but... In JavaScript I add a
I think I've got it down to the most basic case: int main(int argc,
I think I know how to handle this case, but I just want to
I've tried everything I can think of to change the rendering parameters for a
I cannot install PHP-CURL on IIS. I think I have tried everything. My phpinfo()
I don't think this should be in my view, but instead handled by the
I think i kind off miss some logical insight. It seems so easy, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.