A
A
Alexander2016-07-30 06:13:37
css
Alexander, 2016-07-30 06:13:37

Crossbrowser compatibility - how to slide menu item for IE 11?

Guys (and girls) hello.
In general, I can not solve one problem - the menu items are displayed incorrectly in the IE 10, 11 browser. Everything is fine in other browsers.
Like this in chrome Like
1b066492b1a44d3387142a03333e5f14.png
this in IE 11
ad7d6ad301fd4796a7c4326cd30d1880.png
, it turned out to defeat the word wrapping on a new line by applying a style

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .menu-bok-container {white-space: nowrap;}
    }

but I don’t understand how to shift the arrow icon ...
Help with solving the problem.
here is the address of the page fondsemenenko.ru/audiozapisi/
UPD
applied this solution
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .menu-bok-container {white-space: nowrap;}
    .widget_nav_menu ul>li a:before {padding-left: 27px;}
    }

maybe something more elegant?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Polyakov, 2016-07-30
@polRk

Microsoft Edge is doing great.
IE 10, IE 11 - everything shows fine.
Double check the availability of css properties for different browsers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question