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

"Dirty code" and error cssgrid

Community Beginner ,
Feb 17, 2021 Feb 17, 2021

Copy link to clipboard

Copied

EM INGLES

In my DW an error in the properties CSS Grid, mas the code is working very well, only show me this error being that the code is correct according the print.

dreamweaver-erro-css-grid.jpg

 

Another error is when I use the devtools to see the code, it present a "dirty code", but in the DW I wrote with all indentation.

dreamweaver-erro-codigo-sujo.jpg

 

My code in the DW

dw-code.jpgPORTUGUES

No meu DW ocorreu um erro nas propriedades CSS Grid, mas o código está funcionando muito bem, só me mostra esse erro sendo que o código está correto conforme o print.

Outro erro é quando utilizo o devtools para ver o código, ele apresenta um "código sujo", mas no DW escrevi com todo recuo.

Views

534

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 17, 2021 Feb 17, 2021

That is a known error in DW's Linting function.

The program doesn't recognize the "fr" unit yet.

Votes

Translate

Translate
Community Beginner , Aug 14, 2021 Aug 14, 2021

I solve the indetation problem. I changed CR (Macintosh) to CR LF (Windows) in Preferences > Code Format because my sistem is Windows.OS_PopupWindow.jpg

 

Thank you everyone that helped me.

Votes

Translate

Translate
Community Expert ,
Feb 17, 2021 Feb 17, 2021

Copy link to clipboard

Copied

That is a known error in DW's Linting function.

The program doesn't recognize the "fr" unit yet.

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 ,
Jul 01, 2021 Jul 01, 2021

Copy link to clipboard

Copied

Thank you

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 17, 2021 Feb 17, 2021

Copy link to clipboard

Copied

Part 2:  Your code is minified on the server which removes indentation.  This has nothing to do with Dreamweaver.

 

 

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 ,
Jul 01, 2021 Jul 01, 2021

Copy link to clipboard

Copied

Thank you for answer me.

But this code is in my computer, when I write with other IDE don't happen it.

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 ,
Jul 01, 2021 Jul 01, 2021

Copy link to clipboard

Copied

@Adriano_Alves,

5 months is a long interval between replies.  If you have a new Dreamweaver question, please start a new topic with details about your operating system and the version of Dreamweaver you are using.

 

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
LEGEND ,
Jul 04, 2021 Jul 04, 2021

Copy link to clipboard

Copied

He may be as busy as I am, lol 🙂

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 ,
Jul 06, 2021 Jul 06, 2021

Copy link to clipboard

Copied

Yeah, too 😄

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 ,
Jul 06, 2021 Jul 06, 2021

Copy link to clipboard

Copied

I was not recieving the notification in my email 😄
I'm using that last version and the problem keeping.

I know the unit 'fr' is not recgnized by DW. Just the indentation is so strange in view-source. When I write with other IDE it works very well, only with DW.

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 ,
Jul 06, 2021 Jul 06, 2021

Copy link to clipboard

Copied

quote

When I write with other IDE it works very well, only with DW.


By @Adriano_Alves

 

Does it tell you something?

 

Wappler, the only real Dreamweaver alternative.

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 ,
Jul 01, 2021 Jul 01, 2021

Copy link to clipboard

Copied

as @Jon Fritz told you is a know bug from Dreamweaver which doesn't recognise the fr unit as correct,

 

warn, that you line 78, use a string '1fr' and not a unit size 1fr

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 ,
Aug 14, 2021 Aug 14, 2021

Copy link to clipboard

Copied

LATEST

I solve the indetation problem. I changed CR (Macintosh) to CR LF (Windows) in Preferences > Code Format because my sistem is Windows.OS_PopupWindow.jpg

 

Thank you everyone that helped me.

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