Margin: Auto not working in IE

前端 未结 9 1217
悲哀的现实
悲哀的现实 2021-02-19 03:50

URL: http://cyberbat.co.uk/test container margin: auto is not working, is there any other way to put it in the middle in IE.

EDIT: Check it again, the index.php was the

9条回答
  •  太阳男子
    2021-02-19 04:18

    For IE, replace my-auto with align-self-center and BINGO. You can also write CSS for the same:

    .center-container{
       align-self: center;
    }
    

提交回复
热议问题