Hi Kyle,
Thanks for jumping in here. I’m still stumped by what’s going on here. Yes, actually, the sample files came coded with the leading “/” you recommended. i.e.:
<link rel="stylesheet" href="/-/css/screen/main.css" />
However, on the first page (index page) I worked on, the styling didn’t work with the path that started /-/. I fiddled with the path, and when I removed the leading “/” and did this:
<link rel="stylesheet" href="-/css/screen/main.css" />
Then the styling renders correctly (see original attached pathCorrect.jpg).
The aggravating problem comes in on the second sample page. It points to the exact same location, but whether I set the path to this:
<link rel="stylesheet" href="/-/css/screen/main.css" />
or this:
<link rel="stylesheet" href="-/css/screen/main.css" />
the styling doesn’t work either way (see pathIncorrect.jpg), and the same thing with the photo on the page. The photo path is:
, which works on the index page, and does not work on the second page.
Grrrr! How can this be?? I’ve lost hours to this stupid problem.
Because the architecture here is different from any other project I’ve worked on, it might help to know where the asset (images/css/js) files are supposed to be within the context of a template. It SEEMS like they should be in the root folder with simple relative paths pointing to the correct place, e.g., ../css/main.css, ../js/script.js, (I actually tried this) but EE obviously doesn’t work this way. (to see where they actually are for this particular project, see my 2nd post in this thread from August 15, 6:49 p.m.)
I’m totally stumped here.