Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
On Thu, 3 May 2007, Mike Robertson wrote:
I would recommend the use of relative addressing in any html system of files.
Addressing with "file:// ... " may work on a PC but if the files are
transferred to a web server everything goes south. Relative addressing
assumes any file being called from a web page is relative to that page. So if
the page is, say, at /home/www/mysite/thisfile.html, and it calls a graphic
image in, say, /home/www/mysite/images/, then the correct address would be
"images/imgfile.png" for instance. Suppose stylesheets are in /home/www/css/,
then the relative address from that current file would be
"../css/default.css" for instance.
This addressing transfers just fine to a CD, btw, assuming all
directories and files are copied without changing their addresses
relative to each other.
My apologies if you're way ahead of me on this and I'm answering the
wrong question.
I just want to say that this was exactly the right answer for me. It
seems obvious in retrospect. I had tried so many things that I didn't
realize I hadn't tried this until Mike pointed it out. I tried it and it
worked perfectly. It should definitely transfer to other OSs and to the
web.
So thanks, Mike!
Mike
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members