RSS Forums RSS
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1651 | Replies: 2 | Solved
Reply
Join Date: Nov 2006
Location: Costa Rica
Posts: 65
Reputation: Racoon200 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
Racoon200's Avatar
Racoon200 Racoon200 is offline Offline
Junior Poster in Training

Help linking to parent folder stylesheet

  #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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 13,441
Reputation: jbennet is just really nice jbennet is just really nice jbennet is just really nice jbennet is just really nice 
Rep Power: 33
Solved Threads: 332
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: linking to parent folder stylesheet

  #2  
May 27th, 2007
If it is 1 directory above use ../(filename) (the two dots mean go 1 ditecory above)
TRY MY SUGGESTIONS AT YOUR OWN RISK

Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
Reply With Quote  
Join Date: Jun 2004
Location: Hemet, CA
Posts: 429
Reputation: FC Jamison is on a distinguished road 
Rep Power: 5
Solved Threads: 18
Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: linking to parent folder stylesheet

  #3  
May 27th, 2007
<link href="../style.css" rel="stylesheet" type="text/css" />
Last edited by FC Jamison : May 27th, 2007 at 7:06 pm.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 4:59 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC