/ Published in: CSS

A series of tests to determine the best way to preload css images on elements that by default are hidden.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#preload { background-image: url(image.png); position: absolute; left: -9999px; } #preload { background-image: url(image.png); visibility: hidden; } #preload { background-image: url(image.png); background-repeat: no-repeat; background-position: -9999px -9999px; }
URL: http://www.nealgrosskopf.com/tech/thread.asp?pid=23
Comments
