Home › Forums › CSS › Why is this child not perfectly centered in Safari 6? › Reply To: Why is this child not perfectly centered in Safari 6?
I’ve got a site that is built on flexbox and I’m wondering how in the hell to center things.
I would argue that that’s a bit of an issue to begin with considering it’s lack of < IE10 support, but obviously your choice! When you’re using a super new technology like this, it simply has to be expected that not everything is going to work properly.
What would you do?
I wouldn’t build a site using flexbox to begin with, so I don’t think my opinion particularly matters ;)
Unfortunately, my Safari is at v7 so I have nothing to test with for ya. Possible solution: give your child a position of absolute and t/r/b/l values of 0
. This should kick margin: auto
in the but and make it work properly in all browsers.