Re: Simple Questions for Newbie (Background Page Image)

Aside from Dominique Meeùs's suggestion, which are most relevant and
IMO you should take into consideration, here's a small, yet general
Web development suggestion. ;-)

>  background-image: url(D:/RealEstate/XSite/TestSplash.jpg);

Always avoid full paths - use relative paths instead. If your HTML
file is in the same directory as "TestSplash.jpg", simply write:

background-image: url(TestSplash.jpg);

You can crawl through the directories to reach your file (using ".."
and/or directory names). If you really want to use full paths, at
least don't make use of file specific URL information such as "D:" -
use "/RealEstate/XSite/TestSplash.jpg" which, when you upload it to a
Web server, will turn into
"http://yourWebServer.com/RealEstate/XSite/TestSplash.jpg"

This is *not* limited to including images and such - it can and
*should* be applied to navigation (jumping between HTML files) and
other included resources (referenced CSS files, images within HTML
context, etc.).

Hope this helps,

 Helder Magalhães

Received on Friday, 3 October 2008 08:21:10 UTC