how to center with position fixed

Solutions on MaxInterview for how to center with position fixed by the best coders in the world

showing results for - "how to center with position fixed"
Ibtissem
13 Apr 2017
1position: fixed;
2width: 500px;
3height: 200px;
4margin: 5% auto; /* Will not center vertically and won't work in IE6/7. */
5left: 0;
6right: 0;