Skip to main content
Participant
July 9, 2026

When Dream weaver validates the css code it reports error RBRACE expected om lines with CSS Variables (--name, var()) CSS Grid (display:grid, grid-template-columns) fr minmax()

  • July 9, 2026
  • 5 replies
  • 33 views

Create a css-file with some:

  • CSS Variables (--name, var())
  • CSS Grid (display:grid, grid-template-columns)
  • fr
  • minmax()

Then you get Expected RBRACE

    5 replies

    Jon Fritz
    Community Expert
    Community Expert
    July 13, 2026

    What version of DW are you using?

    Variables had always had problems for DW up until 21.6 (I haven’t updated further yet). That version seems to understand CSS Variables finally, at least under Windows 11, and admittedly on some fairly simple code.

    If you could share more of your code, we might be able to find where DW is coming up short and be able to help find a workaround, or report it as a bug.

    Nancy OShea
    Community Expert
    Community Expert
    July 11, 2026

    Dreamweaver Validation uses the W3C validation services below:

    CSS https://jigsaw.w3.org/css-validator/

    HTML https://validator.w3.org/

     

    The difference between complied CSS for browsers & pre-processed SCSS scripting: 

    https://www.geeksforgeeks.org/css/what-is-the-difference-between-css-and-scss/

     

    Hope that helps.

     

    Nancy O'Shea— Product User & Community Expert
    Nancy OShea
    Community Expert
    Community Expert
    July 11, 2026

    Does this occur in post-processed CSS or pre-processed SCSS files?  

     

     

     

     

    Nancy O'Shea— Product User & Community Expert
    Participant
    July 13, 2026

    In my case I use regular css-files and pre or post process is not relevant. It’s when I work with the code in Dream Weaver.

    It’s extremely annoying to get red lines indicating error on correct code.

    Participant
    July 13, 2026

    My code validates in Jigsaw