css - Abolsute Vertically center does not work in FireFox -


i have following code in css

.box {     position: relative;     min-height: 113px;     overflow: hidden;     border: 1px solid #ccc; } .box img {     position: absolute;     bottom: 0;     top: 0;     left: 0;     right: 0;     margin: auto;     min-width: 202px;     width: 100%;     height:auto; } 
<div class="box">image goes here</div> 

for reason works chrome, safari , ie.... in firefox image not center in "box" container.

does firefox not support method?

fiddle


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -