I know that there is a property to self align an item in IE with -ms-grid-row-align &
-ms-grid-column-align but I am looking for justify-content or justify-items property so I can center align all the items at once.
Is there a way to make this work on IE11 ? And if not, what is the alternative?
The below code snippet will center align the contents in,
- firefox and chrome
.section_test {
display: grid;
display: -ms-grid;
justify-content: center;
}
.section_test > article {
}
<html>
<head>
<title>test</title>
</head>
<body>
<section class="section_test">
<article>
Test the Article
</article>
</section>
</body>
</html>
Thanks.