我该如何将我的加载指示器定位在屏幕中央?目前我使用了一个小占位符,它似乎很好用。但是,当我向下滚动时,加载指示器仍然停留在预定义的位置。我该如何使其跟随滚动,以便它始终停留在页面顶部?
#busy
{
position: absolute;
left: 50%;
top: 35%;
display: none;
background: transparent url("../images/loading-big.gif");
z-index: 1000;
height: 31px;
width: 31px;
}
#busy-holder
{
background: transparent;
width: 100%;
height: 100%;
}