how to display the spionner in the middle of the page in jquery code example Example: center a spinner css .loader { left: 50%; margin-left: -4em; }