said:
>One "trivial" question: some of my images are in subdirectories on the
>server and their locations are marked relative to the main page.
>Question, which is correct:
>(1) /picts/xxx.jpg
>or
>(2) picts/xxx.jpg
As Bob said, you probably want 2 in this case
When working with URLs, the leading slash means find the directory
relative to the document root. In your case this is the directory that is
equivalent to
home.ca.rr.com/rosenfeld
Without the leading slash, you are saying find the directory relative to
the directory that contains the referring document (i.e. pics.html or
whatever).
Over time you will find that both notations are useful.
Steven
--
----------------------------------------------------------------------
"Steven Levine" MR2/ICE 3.00 beta 08pre #10183 eCS/Warp/DIY/14.103a_W4 etc.
www.scoug.com irc.ca.webbnet.info #scoug (Wed 7pm PST)
----------------------------------------------------------------------
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"postmaster@scoug.com".
=====================================================
<< Previous Message <<
Return to [ 27 |
July |
2007 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.