Why should I use conditional style sheets?

The question covers most of them, but I'm trying to present a well-formulated argument in favor of a senior developer who wants to abandon conditional stylesheets altogether (IE6, mobile, etc.). Keep in mind that we are not actually eliminating IE6, just a stylesheet.

Or am I crazy and should just accept it?

+4
source share
5 answers

Which alternative? CSS hacks?

I have conditional style sheets for IE7 and IE6. This shares the fixes for these specific browsers. When making changes, it easily allows testing / fixing in standards browsers, testing / fixing in IE7, and then testing / fixing in IE6. Testing is more natural. It does not violate standards, itโ€™s easy, and itโ€™s basically free. It makes sense to explain why you will not use them.

+4
source

You can look at Yahoo Reset CSS Library . He eliminated the need for conditional style sheets in many of the projects I did.

+1
source

You should not. With enough work, both popular browsers can be made to make the page the same way. Take mine , for example, complex, but simple at the same time.

[edit: changed "never" to "you should not", thinking that the name is indicated "when"]

0
source

If you can satisfy your needs without conditional style sheets, then, in any case, itโ€™s nice to have a single style sheet for all browsers. However, if you cannot do this without losing functionality, then a good enough argument should be presented to justify the transition to a single stylesheet.

0
source

Because IE 6 and IE 7 are broken down in various well-known ways. Conditional style sheets that modulate corrections are the easiest and most supported way to deal with these interruptions.

When you say that your senior developer wants to โ€œabandonโ€ conditional style sheets, what exactly does this mean?

0
source