On Dec 2, 2005, at 11:31 AM, Christian Montoya wrote:

> A friend of mine was wondering whether browsers would load an image
> that is specified in the stylesheet as display:none, and if so, which
> ones? I tried searching and the wiki, but no success. So which ones
> load the data even though it's not displayed?


I recently tested a site on the following browsers:

        Win IE 6
        Firefox 1.0.x
        Safari 1.2+
        Opera 8

Of these, only Opera failed to preload some gallery images that I had  
hidden (for exposure on hover) by using display:none; and  
position:absolute;

I changed it to visibility:hidden; and some swapping of z-index  
values and achieved the same gallery effect, but now Opera is  
preloading the image. Since then I've also tested on Win IE 5.5, but  
the CSS was already changed so all I know it works with the new method.

YMMV.

-- 

     Ben Curtis : webwright
     bivia : a personal web studio
     http://www.bivia.com
     v: (818) 507-6613




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to