我在jquery thickbox中打开iframe。我想在iframe加载时显示加载图像,下面有一些文字。我做了每次登录,但我的问题是如何创建我的CSS,使得加载图像和文本在每个浏览器中的jquery thickbox的中心。
答案 0 :(得分:0)
试试这个 -
<div id="submitPage">
<img src="loading.gif" alt="">
Your text...
</div>
#submitPage {
border: 1px solid black;
width: 746px;
height: 201px;
background: #0ff;
z-index: 99;
position: fixed;
left: 50%;
top: 90px;
margin-left: -373px;
line-height: 201px;
text-align: center;
color: #f00;
}
#submitPage img{
margin-right: 10px;
border: none;
}