Re: It's all relative

by iwa-hwg <iwa-hwg(at)tiram.org>

 Date:  Wed, 06 Oct 2004 10:56:14 +0200
 To:  "HWG - Techniques" <hwg-techniques(at)hwg.org>
 References:  localhost jgndesigns christie
  todo: View Thread, Original
ROn Wed, 6 Oct 2004 13:43:38 +1000, Christie Cooksey  
<christie(at)thearmidalemall.com> wrote:

> I use includes alot and need to use absolute links in the included files
> because the pages that use them are in several directories.

There's always root relative URIs :)

ABSOLUTE:
http://www.example.com/files/page1.html

RELATIVE:
../page1.html

ROOT RELATIVE:
/files/page1.html

A root relative URI will work no matter where you put it.

M :)
-- 
Marit Halse
mailto:iwa-hwg(at)tiram.org
"I love the way Microsoft follows standards. In much the same manner that  
fish follow migrating caribou." - Paul Tomblin

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA