We Recommend

CSS: The Definitive Guide CSS: The Definitive Guide
Provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, text wrapping (nowrap), lists and generated content, table layout, user interface, paged media, and more.


Posted By

Tate on 05/19/08


Tagged


Versions (?)


Who likes this?

5 people have marked this snippet as a favorite

SmpleJohn
Wiederkehr
basicmagic
brent-man
asturi


Universal Image Preloader (Spinner)


Published in: CSS 


URL: http://www.maratz.com/blog/archives/2005/05/02/image-preloader/

  1. img { background: url(loading.gif) no-repeat 50% 50%; }

Report this snippet 

Comments

RSS Icon Subscribe to comments
Posted By: SmpleJohn on May 20, 2008

Pair it with this tool: http://www.ajaxload.info/ Smart idea, like a "duh", should have thought of that before.

You need to login to post a comment.