• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CSS file detection problem

Community Beginner ,
Feb 09, 2023 Feb 09, 2023

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

TOPICS
Error

Views

387

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Feb 09, 2023 Feb 09, 2023

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

...

Votes

Translate

Translate
Community Expert , Feb 09, 2023 Feb 09, 2023

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).

 

Manage Sites PanelManage Sites Panel

 

 

Votes

Translate

Translate
Community Expert ,
Feb 09, 2023 Feb 09, 2023

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 13, 2023 Feb 13, 2023

Copy link to clipboard

Copied

It worked, thank you very much !

LM

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 09, 2023 Feb 09, 2023

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).

 

Manage Sites PanelManage Sites Panel

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 13, 2023 Feb 13, 2023

Copy link to clipboard

Copied

LATEST

Thank you for your help !

LM

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines