PDA

View Full Version : CSS positioning makes animation run very slow


zoobie
07-14-2003, 11:27 PM
Umm...Why does css positioning make my animation run very slow? I'm using:
body {
background: black url(http://addy.com) no-repeat 50% 20%;
}

Take a look for yourself:

With css positioning (http://doof.us/test/slow.html)
Without css positioning (http://doof.us/test/fast.html)

Fix? Thanks

bradyj
07-14-2003, 11:37 PM
I opened them up in Mac IE, Moz, and Opera, and I made little small windows for all, and I see the exact same frame rate -- the only thing I see different is if I resize the window, the CSS one slows down (which I think for rendering) -- there may be a clue in that?

However, aside from that, I see little difference. I am at work on a T1, though.

zoobie
07-15-2003, 03:45 AM
Anyone else getting a slow css positioned animation?

MotherNatrsSon
07-15-2003, 04:22 AM
LOL. I got a headache from looking at it. I am on a Mac with a cable modem and in Netscape 7.02 they are both moving pretty fast so it is hard to tell.

MNS

zoobie
07-15-2003, 05:53 AM
Guess it's my slow box then...Still doesn't make any sense why one page would be fast and the other using css positioning would be slow on my box...

bradyj
07-15-2003, 04:57 PM
I just think that it may be the fact it has to read the CSS before anything, which may give it a little one second lag on slower computers is all. Backgrounds are essentially like embedded images, that connection may be just the reason why it renders a tad slower.