css - Element is not horizontally centered in IE11 with Flexbox when parent has flex-flow: column wrap; -


jsfiddle link

.thing {  	background-color: tomato;  	max-width: 300px;  	padding: 30px;  	display: flex;  	margin: 0 auto;  	flex-flow: column wrap;  }    .not-centered {  	max-width: 150px;  	background-color: #fefefe;  	margin: 0 auto;  }
<div class="thing">  	<div class="not-centered">  		im not centeredi in ie11  	</div>  </div>

i supposed work because if max-width , margin: 0 auto set. can see, not horizontally centered because parent .thing has flex-flow: column wrap.

any ideas fix in setup?

p.s. works in chrome/ff

wrapping .not-centered in div block display resolves issue in ie11


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -