L
L
Lici2013-03-20 01:11:38
css
Lici, 2013-03-20 01:11:38

Make friends with Internet Explorer and "@media screen and"

Faced with the fact that Internet Explorer below version 9 (not including it) does not understand such a thing:

@media screen and (min-width: 399px)


And it will not work to change CSS depending on the size of the screen (browser) of the user.

How to deal with it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Litvinenko, 2013-03-20
@edli007

actually normal - not how, I see only one option, determine the width of the body with a java script and connect the necessary styles

P
pxx, 2013-03-20
@pxx

You can use Respond . It, unlike CSS3 mediaqueries js , is still supported and weighs less.
The main thing is to include styles via link rel="stylesheet", not style, import , inline

P
Pavel, 2013-03-21
@milast

Refuse IE < 9. Focus on modern browsers. Otherwise, we will sag for a long time for users with IE 6, 7, 8.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question