Results 1 to 24 of 24
Thread: background image loading
Jul 15, 2010, 00:07 #1
- Join Date
- Jul 2009
- 0 Post(s)
- 0 Thread(s)
background image loading
in the stylesheet, i'm using an image as a background for an element like:
backround: #FFF url(pic.jpg) no-repeat 0 0;
i've put this as an external stylesheet and the reference to this is within the <head> tag.
when will the browser load this image ?
a)as soon as the external stylesheet is loaded and the browser sees this image OR
b) when the element that uses this image appears in the DOM