resin
06-02-2012, 11:46 AM
I just realized that the image preloader method I've been using doesn't work for Chrome. How can I get this to work with Chrome-
css
#imagepreloader
{
margin: 0 auto;
position: absolute;
visibility: hidden;
}
body
<div id="imagepreloader">
<img src="test1.png" style="width: 1px; height: 1px;">
<img src="test2.png" style="width: 1px; height: 1px;">
<img src="test3.png" style="width: 1px; height: 1px;">
</div>
css
#imagepreloader
{
margin: 0 auto;
position: absolute;
visibility: hidden;
}
body
<div id="imagepreloader">
<img src="test1.png" style="width: 1px; height: 1px;">
<img src="test2.png" style="width: 1px; height: 1px;">
<img src="test3.png" style="width: 1px; height: 1px;">
</div>