keeping a DIV at the top an开发者_Python百科d center of the page with ability change size div like loading box in Gmail?
As I said, your question is extremely hazy but I guess you are looking to place a DIV at a fixed position that stays there even when the page is scrolled.
The CSS way to do this is
<div style="position: fixed; top: 0px; left: 0px;">....</div>
won't work in IE < 7. The only way to make this work in IE6, as far as I know, is kludgy and jittery JavaScript-based workarounds.
精彩评论