Skip to main content
Aug 14, 2020 11:14 AM UTC
Answered

Dreamweaver displays error on valid CSS Grid syntax

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 is closed to new replies. Start a new post to keep the conversation going.
    Jon Fritz
    Jon FritzCorrect answer
    Community Expert
    Aug 14, 2020 12:41 PM UTC

    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

     

    3 replies

    Jon Fritz
    Community Expert
    Jon FritzCommunity ExpertCorrect answer
    Community Expert
    Aug 14, 2020 12:41 PM UTC

    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

     

    Translate
    Aug 14, 2020 1:43 PM UTC

    Thanks for the reply 

    Translate
    Just Shoot Me
    Legend
    Aug 14, 2020 11:25 AM UTC

    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.

    Translate