View Single Post
  #5 (permalink)  
Old April 26th, 2006, 10:27 AM
richard.york's Avatar
richard.york richard.york is offline
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

> Your suggestion as shown above still did not work. I had to remove the forward slash in
> front of the folder name to get it to work. That is:

"/images/banana.ani" is an absolute path, the leading forward slash refers to the root directory.

So the full path would be "http://www.example.com/images/banana.ani", writing it as "/images/banana.ani" allows you to leave off the domain and yet refer to the root directory no matter where you are calling it from.

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html