View Full Version : How to link css background image to image in website folder

12-24-2011, 07:31 PM
Hi, I have a picture in my images folder that I want to use as a background image in CSS. How do I link it so the image will appear?


I'm just trying to figure out how to format the link where the question marks are because the picture is on my computer, and not a server.

12-26-2011, 08:26 AM
It shouldn't really matter if your image is on your computer during development. Just use relative links based on your website root. I assume you will be uploading the image to your server before launch?

Make sure you check out JC's useful article about site definitions; http://www.dreamweaverclub.com/cs5-setup.php get the set up right from the start and this should all just fall into place :)