I
I
ialse2019-04-19 15:10:46
Internet Explorer
ialse, 2019-04-19 15:10:46

Why doesn't Overflow work correctly in IE?

It is necessary that the page has a block with horizontal scrolling.
Everything works fine in Chrome, Firefox, Opera, but as usual, something is wrong in IE 11. I couldn’t google, or I didn’t understand what words to google.
On the first screenshot of Chrome, you can see that the green block has a scroll bar at the bottom. The width of the cells is the same and the total width of the block is greater than the visible part and equal to the width of all cells.
On the second screen of IE, where for some reason the width of the cells fit the visible part and there is no scrolling.
The code is posted here https://jsfiddle.net/gco58nyu/
You can open it in IE and there will be the same problem
5cb9b96c8f58b356576935.jpeg5cb9b974b33ab392521044.jpeg

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
keeplod, 2019-04-19
@keeplod

.Z { width: 100%;}
.telo { width: 700px;}
and line 63 in css is not closed;

N
Nikolay, 2017-03-06
@Neocaridina

codepen.io/Nickolyashka/pen/OpXeLN

D
dorado, 2017-03-06
@dorado

if the logo can be fixed, then something like this I would do.

<div class="logo">
  <span>Hello</span>
  <span>World</span>
</div>

.logo{
// стиль с темным фоном и все такое
}
.logo:after{
// рисуем тут круг
}
.logo span:first-child{
// margin на расстояние диаметра круга или чуть больше
}

draw a circle through the after pseudo-element, and the rest is simple

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question