$("#modal").jqm({ ajax:'@href', ajaxText: '<img alt="Loadinganimation" id="loadingModal" src="/ images/loading.gif />' })
I'm trying to get the loading gif to be centered in the window, but it's always in the top right corner of where the modal window shows up. here's the CSS: .jqmWindow, .jqmID1, .jqmID2{ display: none; position: fixed; top: 17%; left: 50%; margin-left:-350px; z-index:3001; } .jqmWindow #loadingModal{ position:relative; left:50%; top:200px; } the above css doesn't seem to affect the image at all. Can anyone tell me if there's a specific class applied to this image and how I might manipulate where it's placed while the content is being loaded via ajax?