Msg#: 3420548 posted 6:40 am on Aug 13, 2007 (gmt 0)
I understand that less http requests mean faster loading times. But by how much?
I have a page that I am working on that has 15 optimized images that are about 325x200. If I placed these images as class or div backgrounds, is it worth the extra markup since the images are so large?
Also, won't the page just stay blank until the css file is done loading all the images anyhow?
Msg#: 3420548 posted 4:54 pm on Aug 13, 2007 (gmt 0)
Regardless of whether you're serving the images as content (with the <img> element) or whether you're serving the images as presentation (CSS backgrounds), each image is still going to require an HTTP request. Whether or not you serve the images as background images or not really depends on whether they are content or just presentation.