Skip to main content
tattiedave
Inspiring
June 20, 2022
Answered

Dreamweaver keeps losing track of my external stylesheet in the same directory & trying to load it s

  • June 20, 2022
  • 2 replies
  • 640 views

I've been using Dreamweaver for some time but in the site I'm now working on, whenever I click on the extrnal stylesheet Dreamweaver loads it in Split Screen & loses it. It gives a notice saying it's not on the Remote Sever. What is going on?

This topic has been closed for replies.
Correct answer L e n a

I don't know in which sense you mean the word, in the same place, as far as I can see, your PHP document is in a doc folder, and your CSS style in the root of the site... so the path should look like ../style.css ... is that right?

2 replies

L e n aCommunity ExpertCorrect answer
Community Expert
June 20, 2022

I don't know in which sense you mean the word, in the same place, as far as I can see, your PHP document is in a doc folder, and your CSS style in the root of the site... so the path should look like ../style.css ... is that right?

tattiedave
Inspiring
June 20, 2022

Oh my goodness, you're right. I never saw that. How stupid of me! The index file is in the root directory (of course) & refers to the CSS in the same place. I created all the other pages using the same hed, before deciding to move them all into a seperate folder. Ignoramus. I will now update the headers in all the other pages to refer to the CSS on the site root.

 

Apologies for being so stupid.

Don't suppose you know why Dreanweaver tries to open lost CSS sheets in Split View??

Nancy OShea
Community Expert
Community Expert
June 20, 2022

To parse PHP files locally, you need a local testing server.

Did you define it in Dreamweaver's Site Manager?

Is your local testing server running?

 

Nancy O'Shea— Product User & Community Expert
tattiedave
Inspiring
June 20, 2022

Forgot to say that my site is all setup in Dreaweaver so knows exactly where everything should be, folders etc.