homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

Do browsers download all css images?
Even if they aren't called for on some pages?

 6:12 am on Nov 26, 2005 (gmt 0)

I have one css file that all my pages use.

On my index page I have a special div that loads a large image in the background. (about 28k) These background image instructions are in the css file.

On the rest of my pages, I do not have this special div, so the large background image should not load.

However, when I was visiting Website Optimization, I noticed for one of the pages that did not have the special div, the image was shown as having been downloaded.

Does CSS really do this, or is this just a flaw in the Website Optimization site?



 5:33 pm on Nov 26, 2005 (gmt 0)

It should not. Perhaps you saw it in the cache? Clear the cache and see if it's still there.


 10:10 pm on Dec 8, 2005 (gmt 0)

Iím thinking it might have been a bug in the checking site.

I just wasnít positive though.



 2:08 am on Dec 10, 2005 (gmt 0)

if it's not your site, it should be some image preloading by javascript. as :hover {background:url(img)) is not preloaded in css

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved