Suppose I have the following HTML:
<div id="submitPage" align="center">
<div id="middlecontainer">
<p align="center" id="loading-image"> <img src="/cso/images/loading.gif" border="0"> <font color="red">Submitting order...</font></p>
</div>
</div>
I am attempting to float the submitPage div at the center of the page. I have applied the following CSS, which works fine in Mozilla but for some reason does not work in IE-8:
#submitPage {
border: 1px solid black;
width: 746px;
height: 201px;
background: aqua;
text-align: center;
z-index: 99;
position: fixed;
display: block;
margin: 90px auto;
}
#middlecontainer{
text-align: center;
width: 91px;
margin: 0 327px;
}
#loading-image {
position: absolute;
top: 74px;
left: 299px;
z-index: 100;
}
Please inform me if there is anything wrong that I am doing or if there is something missing that needs to be added for IE compatibility. Any assistance using JQuery would also be appreciated.
Thank you!