How to Center Horizontally a Position Fixed Element with CSS?
The common approach is
width:100px; left:50%; margin-left:-50px which is simple but will only work
with fixed width. Here is how to do it in a more flexible way.
Tested on recent Chrome, Firefox, iOS 5, Android 4, IE9. Should work in every
browser that supports
inline-block. Try it on the