User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 423,610 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,211 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1449 | Replies: 2 | Solved
Reply
Join Date: Nov 2006
Location: Costa Rica
Posts: 65
Reputation: Racoon200 is an unknown quantity at this point 
Rep Power: 2
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 5:40 pm.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2005
Location: Old Hampshire, Old England (LOL)
Posts: 11,937
Reputation: jbennet is a jewel in the rough jbennet is a jewel in the rough jbennet is a jewel in the rough jbennet is a jewel in the rough 
Rep Power: 30
Solved Threads: 267
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Microsoft Fanboy

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!
james.bennet1@ntlworld.com
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 6:06 pm.
Reply With Quote  
Reply

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

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 8:47 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC