In terms of client-side image caching, is there a difference between the following:
**Option #1** <div style='background:url('myimage.jpg');display:none;'></div>
and
**Option #2** <div id='myimage'></div> style.css #myimage { background:url('myimage.jpg'); display:none; }
EDIT: I’m not sure if it matters but the above DIVs are first loaded on another page with style=’display:none;’
No. Also note that some browsers won’t cache graphics ih hidden elements (regrardless of whether you hide them directly or hide one of their parent elements).