I AM SURE I AM MISSING SOMETHING HERE!
There has to be a eaiser way for a script located in the cgi-bin directory
to use a CSS files of other files in other directories.
Please help me.
Thanks
Jim Rendant
--
PLEASE NOTE: comp.infosystems.www.authoring.cgi is a
SELF-MODERATED newsgroup. aa.net and boutell.com are
NOT the originators of the articles and are NOT responsible
for their content.
HOW TO POST to comp.infosystems.www.authoring.cgi:
http://www.thinkspot.net/ciwac/howtopost.html
"It doesn't find?" Is that another way to say that you didn't state
the correct URL to the style sheet?
> I have used the http://ipaddress/html/ path name
Something starting with 'http://' is not a "path name" - it's a URL.
> and it works.
Does it work? So, what's the problem?
> When I transfer this to another server I will have to reconfigure all
> the absolute path names for that server.
Please forget about "path names". Style sheets are accessed via URLs!
Using _relative_ or _absolute_ URLs (not paths) may work without a
need to modify the script. Something like:
<link rel="StyleSheet" href="/yourstylesheet.css" type="text/css" />
> I AM SURE I AM MISSING SOMETHING HERE!
You seem to be mixing up paths and URLs. Use Google or something to
learn about the difference. ;-)
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl