PDA

View Full Version : Ridiculous Question ../ /


kona72
04-12-2006, 01:46 PM
What is he difference in the two??
/ and ../

for example

<html>
/images/sample.jpg
</html>
and

<html>
../images/sample.jpg
</html>

dthomsen8
04-12-2006, 02:11 PM
What is he difference in the two??
/ and ../

for example

<html>
/images/sample.jpg
</html>
and

<html>
../images/sample.jpg
</html>

The .. takes you down one level in the folder (aka directory) structure.

davidj
04-12-2006, 03:22 PM
The .. takes you down one level in the folder (aka directory) structure.


or UP depending on your perspective.

take this structure...


folder1a

>>> folder1b

>>> folder1c



if you are in folder1c and you wanted to use an image in folder1b then your path would be...

../sample.jpg

if you wanted to use an image in folder1a then your path would be...

../../sample.jpg

kona72
04-12-2006, 03:40 PM
THANKS!!
I guess there are really no ridiculous questions if you don't know the answer.. :D