StatCounter User Forum  
StatCounter Free web tracker and counter

Go Back   StatCounter User Forum > Webmaster > Lounge (non-StatCounter related topics here!)

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 12-25-2007, 02:01 AM
jmdirc jmdirc is offline
Active Member
 
Join Date: Oct 2007
Posts: 547
Default file hierarchy works halfway

This is what I got:

--desktop--
-main folder-
index.html
page.css
-sub-page folder-
page2.html

Both web pages use the single CSS file. When pulled up individually, the pages work great, everything works, the html and the CSS.

Here is the problem. When I follow a link from either page to the other, the html loads, but the CSS file isn't applied. Any suggestions? Oh, I'm on a Mac 10.4.11 with Safari 3.0.4.

What I've tried - removing the sub-page folder and re-linking -- still don't work; renaming the file inside the sub-folder -- nope. Dragged everything over to a Win 2000 with IE 6, won't even open the page link.

Will appreciate any help.
  #2  
Old 12-25-2007, 05:19 AM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,172
Default

I assume you are running this without the benfit of a local webserver setup.

It's how you link to your css.

When you are in index.html the css file is in the same folder. When you are in page2.html the css file is back one level.

Your choices are to either copy the css file to the subfolder or state the link to it explicitly with the full path like: c:\blah\blah\style.css.

Complicated further by Safari which, when run locally, may require links to be prefixed by file:// instead of http:// which would be used on the web, or some such thing.
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
  #3  
Old 12-25-2007, 01:48 PM
jmdirc jmdirc is offline
Active Member
 
Join Date: Oct 2007
Posts: 547
Default

Thank you.

Your up early. 10 more minutes and I can go to breakfast -

Merry Christmas.
  #4  
Old 12-25-2007, 07:55 PM
fuzzy fuzzy is offline
Senior Member
 
Join Date: May 2005
Location: Milwaukee, WI
Posts: 1,145
Default

Quote:
Originally Posted by jmdirc View Post
You're up early.
Up late, more than likely...

Merry Christmas!
  #5  
Old 12-25-2007, 08:32 PM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,172
Default

What's late, what's early?

I stayed up late (4:30 am EST) which means I went to bed in the early morning hours

I usually do that on weekends and holidays.
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
  #6  
Old 12-25-2007, 09:05 PM
geordie joe geordie joe is offline
Master Member
 
Join Date: Oct 2006
Location: Geordie in Dorset
Posts: 1,409
Default

I went to bed about 12:30am

Woke up in the morning, got dressed, went down to the kitchen made a cup of tea. Took it down to the living room and switched the computer on. While waiting for the computer to boot up I glanced up at the clock, the time was 4:05am!!!!!!

Normally I wake up at 6:15am every morning, no matter what time I go to bed.
  #7  
Old 12-25-2007, 09:22 PM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,172
Default

Aw, how cute! Joe, you were so eager to catch Santa
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.

Last edited by webado; 12-25-2007 at 09:32 PM.
  #8  
Old 12-25-2007, 10:54 PM
BenMore BenMore is offline
Senior Member
 
Join Date: Sep 2006
Location: Corfu, Greece
Posts: 855
Default

Wasn't Santa yesterday?

Here at 6:30 am we were looking at the full moon in the early morning light - which is unusual for this part of China as the sky is usually too thick with stuff other than fresh air.
__________________
Rob

Rob Dingwall Photography
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:10 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.