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

"Dirty code" and error cssgrid

Community Beginner ,
Feb 17, 2021 Feb 17, 2021

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.

1.1K
Translate
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.

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.

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

Translate
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

Thank you

Translate
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

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
Translate
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

Thank you for answer me.

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

Translate
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

@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
Translate
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

He may be as busy as I am, lol 🙂

Translate
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

Yeah, too 😄

Translate
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

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.

Translate
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
quote

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


By @Adriano_Alves

 

Does it tell you something?

 

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
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

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

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

Translate
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