Better Image Caching with CSS
“These caching techniques have evolved in terms of effectiveness and accuracy, but may be improved further to allow for greater cross-browser functionality. In this post, I share a “CSS-only” preloading method that works better under a broader set of conditions.
Previous image-preloading techniques target all browsers, devices, and media types. Unfortunately, certain browsers do not load images that are hidden directly (via the element) or indirectly (e.g., via the parent element) using either display:none; or visibility:hidden;. Further problematic is the potential unintentional display of images on pages when presented via specifically designed print stylesheet.”
From Perishable Press. Aside from the annoying black background with too dark text, this is an interesting technique to avoid javascript when pre-loading images.
- Popular Articles
- Latest Stories
- Popular Stories
- How to Pick an Online ECommerce Shopping Cart: 6 Carts Reviewed
- How to Code HTML Email Newsletters
- How To Create An Editorial Process To Publish Web Content
- How to Protect Your Website Images
- How To Do Basic Search Engine Optimization for Web Pages
- How To Easily Edit DNS Zone Files To Configure Email Servers
- How To Evaluate and Hire Programmers, Without Being A Programmer
- Browse all articles
- Resources: CSS Frameworks, PSD to HTML, Text Editors and IDEs
- Free Google AdWords Campaigns for Non-Profits
- How to Find the Perfect Color and Create a Color Palette
- 6 Tips for Better Branding with Avatars
- LA Weighs Replacing Software with Google
- Apollo 11 40th Anniversary
- Xobni Organizes Your Outlook Email
- The Not-So-Hidden Politics of Class Online
- Tips for Sorting Through the Social Networks
- Cool Search Engines That Are Not Google But Still Useful
- How To Code HTML Email Newsletters (All New Version) - 271,044 views
- How To Easily Edit DNS Zone Files To Configure Email Servers - 29,817 views
- How To Create An Editorial Process To Publish Web Content - 22,821 views
- How to Protect Your Website Images - 21,987 views
- How to Pick an Online ECommerce Shopping Cart: 6 Carts Reviewed - 19,589 views
- B2B Buyers Have Very High Social Media Participation - 16,554 views
- The Big, Bad List of Search Engine Optimization Questions to Ask - 16,472 views
- Who’s Your Coding Buddy? - 16,450 views
- How to Deal with Internet Explorer 6 (IE 6) - 16,444 views
- About tweetCC and Why Licensing Your Twitter Tweets Matter - 16,386 views
Great Online Communities to Explore
Community MX - Web Design with Adobe twist
IxDA - Interaction Design
Boagworld - Web Design
SitePoint - Web Design, Coding
The Content Wrangler - Content, Content, Content
@TypeTweets - Twitter for Type-o-philes
Webmasterworld - Web Design
Get the Email Newsletter: Keep Up To Date
Stories, links, and more emailed to you every few weeks!

Connect With Us Online
We provide low-cost, how-to internet marketing information for individuals, businesses, and groups, as well as the people who support them. Learn more