Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what "../" points to 1

Status
Not open for further replies.

seaport

MIS
Jan 5, 2000
923
US
I build an asp application "sales". The file structure of the application is as the following.

/ /asp
standard.css
/sales
index.htm

In the page index.htm, the HTML code is:

<LINK REL=&quot;stylesheet&quot; TYPE=&quot;text/css&quot; HREF=&quot;../standard.css&quot;>

This line of code succesfully links the index.htm page to the style sheet standard.css.

Although the code works, I wonder what on earth the &quot;../&quot; points to. In my case, it points to the folder that is above the folder where the current page is located.

Could someone help me with this?

Thanks in advance.

Seaport
 
Hi!

The ../ indicates one directory back from where you are.

To point to a file in the directory in index.htm, you would use ../.. one for sales & one for asp.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top