I
I
Ivan2015-04-30 16:56:11
css
Ivan, 2015-04-30 16:56:11

Is there a universal JS solution for normal CSS rendering in ie8?

I actually made a website and was happy until I looked it up in IE8 on a laptop with Win7.
Especially, it is depressing that many still have win7 with IE8 not updated.
To redo the entire layout for IE8 is honestly too lazy ...
What should I do?
Is there a universal pluggable JS solution for displaying CSS properly in ie8?
And what do you generally do in such cases?
Is it possible to include different css files depending on the browser used without using PHP code?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Nikolaev, 2015-04-30
@iwqn

And what do you generally do in such cases?

I create an ie8.less file and start to provide cross-browser compatibility. Moreover, this file is created at the very beginning, and after the completion of a large element in modern browsers (grid, catalog, etc.), it is supplemented and updated.
There is no universal solution in JS.
But there is a universal solution for css2 and progressive enhancement (in your case, graceful degradation).

A
Alexander Taratin, 2015-04-30
@Taraflex

No.

S
Sasha, 2015-04-30
@userAlexander

Made up a block - tested it in all browsers.
Made up the page - tested it in all browsers.
I made the first page responsive - I tested it on devices.
Such a scheme allows you to immediately catch and fix a bug, in comparison with your case, when the project is ready, but there are a lot of bugs and it is not clear what is coming from and why.
For IE9, you can create a separate css file, include it in the section, but as a rule, these are crutches, and therefore not very acceptable.
Make a stub for IE9 with a link to download Chrome or Firefox.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question