Skip to main content
August 14, 2020
Answered

Dreamweaver displays error on valid CSS Grid syntax

  • August 14, 2020
  • 2 replies
  • 576 views

hi i was typing in CSS Grid code and the line: grid-template-columns: repeat(4, 1fr); has a red error message saying "Expected RBRACE at line 6, column 35".  i have tested the code in a css validator and the live preview had changed the view of the page.

    This topic has been closed for replies.
    Correct answer Jon Fritz

    This is a known issue with DW's Linting function. It flat out doesn't understand the "fr" css unit.

    If you need to validate your css, use the online validator at: https://jigsaw.w3.org/css-validator/ until Adobe finally fixes the problem. If the red line number in DW bothers you, you can turn off the in-document linting under...

    Edit > Preferences > Linting > uncheck the box for Enable Linting

     

    2 replies

    Jon Fritz
    Community Expert
    Jon FritzCommunity ExpertCorrect answer
    Community Expert
    August 14, 2020

    This is a known issue with DW's Linting function. It flat out doesn't understand the "fr" css unit.

    If you need to validate your css, use the online validator at: https://jigsaw.w3.org/css-validator/ until Adobe finally fixes the problem. If the red line number in DW bothers you, you can turn off the in-document linting under...

    Edit > Preferences > Linting > uncheck the box for Enable Linting

     

    August 14, 2020

    Thanks for the reply 

    Just Shoot Me
    Legend
    August 14, 2020

    I moved your post over from the poorly named "Using the Community" forum, which is for getting help using this forum system, to a better forum.


    I hope this helps. Best of luck to you.