Forum Moderators: open
Background images are loaded after the </body> event, and on some sites that are css graphics heavy, it may give slow internet users a turn-off before it completely finishes loading.
What if I were to pre-load the css sprites with a javascript preload, and also a 1px by 1px of the css sprite right after the <body> tag?
Will that work? And has anybody tried it?
In addition to your technique I strongly suggest that you get the file size down on your CSS background image and also very importantly you must host it on another domain. This could be another subdomain of the same domain, but it cannot be the same domain as your site. By doing this, the CSS download will start as soon as the CSS is loaded.