Skip to main content
Participant
Jul 9, 2026 2:05 PM UTC
Open for Voting

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()

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
    Jul 13, 2026 7:25 PM UTC

    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.

    Translate
    Nancy OShea
    Community Expert
    Community Expert
    Jul 11, 2026 10:40 PM UTC

    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.

     

    Translate
    Nancy O'Shea— Product User & Community Expert
    Nancy OShea
    Community Expert
    Community Expert
    Jul 11, 2026 10:27 PM UTC

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

     

     

     

     

    Translate
    Nancy O'Shea— Product User & Community Expert
    Participant
    Jul 13, 2026 7:58 AM UTC

    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.

    Translate
    Participant
    Jul 13, 2026 8:00 AM UTC

    My code validates in Jigsaw

    Translate