RE: Absolute vs. relative URLs - WAS Re: Netscape Navigator Probl em
by Chuck Evans <Chucke(at)captura.com>
|
| Date: |
Thu, 27 Apr 2000 20:28:41 -0700 |
| To: |
"'firespring'" <firespring(at)nfx.net>, Taylor-Made <taymade(at)home.com> |
| Cc: |
HWG-STYLE(at)hwg.org |
| |
todo: View
Thread,
Original
|
|
I agree that relative is the way to go, but only to a point. I find it much
easier to maintain links to common elements (like a gif that is on every
page, no matter where in the directory structure it is) with the forward
slash indicating the root directory.
So, for most of my images, that is /images/somegraphic.gif. If I move the
pages around, I don't have to go in and figure out is it supposed to be
../../images/somegraphic.gif or ../../../images/somegraphic.gif.
A link back to the home page would also qualify: /index.html (if that's what
your page is).
---------------------------------------------------------
Chuck Evans
Web Marketing Manager
Captura Software, Inc.
(425) 424-1155
chucke(at)captura.com
www.captura.com
-----Original Message-----
From: firespring [mailto:firespring(at)nfx.net]
Using a complete URL is only a good idea if you will NEVER, and I repeat
NEVER,
have to move your pages to a different server or a different directory
on the same server. If you ever have to do that, you will have to change
every link in every page to keep your site functioning. RELATIVE URLs are
the best way to go.
Taylor-Made wrote:
> I agree with others about text decoration and CSS. But I believe that a
> full uri address should be given.
>
> For "/~budget/detailed_bud_by_dept.xls" use
> ~"http://www.oir.ualr.edu/b~udget/detailed_bud_by_dept.xls"
HWG hwg-style mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.