Copy link to clipboard
Copied
Hello,
I'm new to Dreamweaver (on MacAir) and I have a small question about a detection error. At the beginning everything worked fine until I duplicated the CSS file and renamed it without realizing it and since then, when I open the CSS and HTML file, I realize that I have access to the HTML file but not to the CSS file because it doesn't detect it, "... is not on the local disk" whereas everything is placed in one and the same folder then, at the beginning it worked so no error so I don't understand.
I tried to re-download my files, to uninstall and reinstall DreamWeaver, to go to the settings but nothing works.
Do you have any solutions?
I put two pictures to situate you, thanks to you
LM
Did you rename the css file from inside Dreamweaver? If not, the program has no way of knowing it was renamed or moved.
You can re-link to the .css file by:
1. Go to Tools > CSS > Attach Style Sheet
2. In the dialogue window that appears, leave the "Add As" radio button as "Link"
3. Click Browse, then go into your Images folder and highlight your .css file
4. Click OK. That will give the path for the .css file in the Attach Style Sheet dialogue window
5. Click OK
You may need to go into Code View to r
To add to what @Jon Fritz said, did you define your local site folder before starting this project? If not, Dreamweaver can't manage assets and links for you.
Go to Site > New Site > give it a name and point to a folder on your local primary hard drive. Example, C:\MySite\ (see screenshot).
Copy link to clipboard
Copied
Did you rename the css file from inside Dreamweaver? If not, the program has no way of knowing it was renamed or moved.
You can re-link to the .css file by:
1. Go to Tools > CSS > Attach Style Sheet
2. In the dialogue window that appears, leave the "Add As" radio button as "Link"
3. Click Browse, then go into your Images folder and highlight your .css file
4. Click OK. That will give the path for the .css file in the Attach Style Sheet dialogue window
5. Click OK
You may need to go into Code View to remove the broken link if DW simply added a second style sheet link in the <head> section.
Copy link to clipboard
Copied
It worked, thank you very much !
LM
Copy link to clipboard
Copied
To add to what @Jon Fritz said, did you define your local site folder before starting this project? If not, Dreamweaver can't manage assets and links for you.
Go to Site > New Site > give it a name and point to a folder on your local primary hard drive. Example, C:\MySite\ (see screenshot).
Copy link to clipboard
Copied
Thank you for your help !
LM