A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
How CSS works for Images
Joined: Aug 09, 2004
Sep 04, 2006 23:10:00
I would like to know how CSS works for Images.
Assume, you have 100 same images that are getting repeated in a page ( eg : spacer) and if you declare this in CSS, will CSS makes 100 connections to server or only once when CSS is loaded ?
Joined: Nov 08, 2001
Sep 05, 2006 05:54:00
Are you talking about an <img> tag? CSS has nothing to do with the src attribute of that.
Author and ninkuma
Joined: Jan 10, 2002
Sep 05, 2006 10:23:00
If you are talking about url references such as that you might use for the background-image rule, the bowser should cache these just as it would any other resources.
Asking smart questions
Books by Bear
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: How CSS works for Images
Html code related problem
caching of images, css & js files
How to turn BB code on?
Rendering images with CSS in struts
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015