Linking to a directory "above" the current one

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.
Post Reply
User avatar
Deathbringer
Regular Poster
Posts: 234
Joined: Fri Jan 01, 1999 4:00 pm
Location: Beep beep i'm an answering machine
Contact:

Linking to a directory "above" the current one

Post by Deathbringer »

Hello, i wasnt sure if i should post this here or in "Technique tips and tricks", its more a general website coding question (didnt there used to be a web design forum here?)

Anyway, i'm basically wondering if it is possible to link to something, say a .css file or html file in a directory above the one of the current html file without using an absolute link, for instance i am on the page:

http://www.blahblah.com/links/links.html

and i want it to display a frame containing the html file at this location

http://www.blahblah.com/stuffinframe.html

is there a way to do this without using an absolute link?

(The reason i ask is i want my whole site to use one .css file, i have like 100 folder and using a css file in every one, or making every page have an absolute link, would defeat the purpose if i wanted to move servers XD)
I MAKE MANY COMICS / Some are on paper! / Used to have one on Keenspace too...
"The lettering in children's comics has grown larger and simpler, as have the kids" - Lew Stringer

User avatar
Phalanx
The Establishment (Moderator)
The Establishment (Moderator)
Posts: 3737
Joined: Thu Mar 06, 2003 11:46 am
Location: Superglued to the forum by Yeahduff
Contact:

Post by Phalanx »

just have the path: <a href=" ../stuffinframe.html">

../ means up one folder.

or you could use <a href=" /stuffinframe.html">
Image
The Jaded - Action. Adventure. Danger. For Hire.
Lonely Panel - Explore. Travel. Comics.

User avatar
Deathbringer
Regular Poster
Posts: 234
Joined: Fri Jan 01, 1999 4:00 pm
Location: Beep beep i'm an answering machine
Contact:

Post by Deathbringer »

Ahhh..TWO dots!, i kept trying it with THREE dots

i guess i owe TWO people fanart as well..heh
I MAKE MANY COMICS / Some are on paper! / Used to have one on Keenspace too...
"The lettering in children's comics has grown larger and simpler, as have the kids" - Lew Stringer

Post Reply