Skip to main content
Adriano_Alves
Inspiring
February 17, 2021
Answered

"Dirty code" and error cssgrid

  • February 17, 2021
  • 3 replies
  • 1046 views

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.

 

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.

 

My code in the DW

PORTUGUES

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.

    This topic has been closed for replies.
    Correct answer Adriano_Alves

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

     

    Thank you everyone that helped me.

    3 replies

    Adriano_Alves
    Adriano_AlvesAuthorCorrect answer
    Inspiring
    August 14, 2021

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

     

    Thank you everyone that helped me.

    Nancy OShea
    Community Expert
    Community Expert
    February 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
    Adriano_Alves
    Inspiring
    July 1, 2021

    Thank you for answer me.

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

    Nancy OShea
    Community Expert
    Community Expert
    July 1, 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
    Jon Fritz
    Community Expert
    Community Expert
    February 17, 2021

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

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

    Adriano_Alves
    Inspiring
    July 1, 2021

    Thank you