Author Topic: Relative Links Q  (Read 561 times)

0 Members and 1 Guest are viewing this topic.

GilloD

  • TAKE THE LIFE OF FRED ASTAIRE. MAKE HIM PAY. TRANSFER HIS FAME TO YOU.
  • Senior Member
Relative Links Q
« on: September 29, 2008, 02:48:49 PM »
I have a site constructed in the following fashion:

Main index
img (directory)
products (directory)
 whatever.html
merch (directory)

Is it possible to create a relative link from whatever.html back to the img folder? If whatever is in the main index you can just do "/img/whatever.jpg". But because it's one level lower and IMG doesn't reside in it's directory, the link is no longer valid. Is there any way to create a relative link "backwards" or do I need to use an absolute?
wha

GilloD

  • TAKE THE LIFE OF FRED ASTAIRE. MAKE HIM PAY. TRANSFER HIS FAME TO YOU.
  • Senior Member
Re: Relative Links Q
« Reply #1 on: September 29, 2008, 02:49:45 PM »
Fucking duh. I forgot my Web 101 ".."
wha