linking to parent folder stylesheet

Thread Solved

Join Date: Nov 2006
Posts: 66
Reputation: Racoon200 is an unknown quantity at this point 
Solved Threads: 1
Racoon200's Avatar
Racoon200 Racoon200 is offline Offline
Junior Poster in Training

linking to parent folder stylesheet

 
0
  #1
May 27th, 2007
This is the file Tree:
-page folder
--main.html
--style.css
--english
---hello.htm
--spanish
---hola.htm

How can I make hola.htm or hello.htm link the style.css in the parent folder?
Last edited by Racoon200; May 27th, 2007 at 6:40 pm.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,253
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 541
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: linking to parent folder stylesheet

 
0
  #2
May 27th, 2007
If it is 1 directory above use ../(filename) (the two dots mean go 1 ditecory above)
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 434
Reputation: FC Jamison is on a distinguished road 
Solved Threads: 20
Team Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: linking to parent folder stylesheet

 
1
  #3
May 27th, 2007
HTML and CSS Syntax (Toggle Plain Text)
  1. <link href="../style.css" rel="stylesheet" type="text/css" />
Last edited by FC Jamison; May 27th, 2007 at 7:06 pm.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC