Skip to main content
Adriano_Alves
Inspiring
Feb 17, 2021 4:24 PM UTC
Answered

"Dirty code" and error cssgrid

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 is closed to new replies. Start a new post to keep the conversation going.
    Adriano_Alves
    Adriano_AlvesCorrect answer
    Inspiring
    Aug 14, 2021 2:49 PM UTC

    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.

    11 replies

    Adriano_Alves
    Adriano_AlvesAuthorCorrect answer
    Inspiring
    Aug 14, 2021 2:49 PM UTC

    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.

    Translate
    Nancy OShea
    Community Expert
    Community Expert
    Feb 17, 2021 6:13 PM UTC

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

     

     

    Translate
    Nancy O'Shea— Product User & Community Expert
    Adriano_Alves
    Inspiring
    Jul 1, 2021 4:06 PM UTC

    Thank you for answer me.

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

    Translate
    Nancy OShea
    Community Expert
    Community Expert
    Jul 1, 2021 6:55 PM UTC

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

     

    Translate
    Nancy O'Shea— Product User & Community Expert
    Jon Fritz
    Community Expert
    Community Expert
    Feb 17, 2021 5:01 PM UTC

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

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

    Translate
    Adriano_Alves
    Inspiring
    Jul 1, 2021 4:06 PM UTC

    Thank you

    Translate