V
V
Vald3r2019-01-18 12:24:16
css
Vald3r, 2019-01-18 12:24:16

IE11 vertical align inside block?

How to center the contents of a block vertically in ie11.
display: table(table-cell) and other disgrace not to offer.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vald3r, 2019-01-18
@Vald3r

decision:
5c41d9616b186391515632.png

A
Alexander Sharomet, 2019-01-18
@sharomet

Well, in general display: table(table-cell) - should work in IE11. I would like to take a look at the entire code.
It is possible like this:

div {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question