Forum Moderators: not2easy

Message Too Old, No Replies

keeping DIV on top

for IE and FF

         

kadnan

5:30 am on Feb 13, 2009 (gmt 0)

10+ Year Member



I am using a LOADER div like Gmail. I want to keep it on top. on IE "position: absolute;" but it doesnt work on Firefox. On firefox position: fixed;

how can I get the happiness of both worlds?

swa66

7:54 pm on Feb 13, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What do you mean by "stay on top?" stay near the top of the viewport no matter where you scroll (position:fixed is your friend (IE6 will need somethign like IE7.js to teach it sme manners) , or stay over other elements on the screen (z-index is your friend)

kadnan

7:25 am on Feb 14, 2009 (gmt 0)

10+ Year Member



position:fixed doesn't work on IE7