faqts : Computers : Programming : Languages : JavaScript : DHTML

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 21 people (33%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

How can I make an element use a defined image object instead of url('...')? Or, how do I keep it from downloading the image from the server each time?

Aug 14th, 2000 10:34
Rey Nuņez, Pat Friedl,


Only the background-image and list-style-image CSS attributes require 
specifying the image source as url('imagefile.jpg').
If you meant preloading images to be used for image rollovers, see:
http://www.faqts.com/knowledge-base/view.phtml/aid/1358/fid/122
which uses the IMG element itself.