Highlighted

Can't use the CSS fr Unit on Dreamweaver? (Unexpected token '1fr' at line 251, col8.)

Community Beginner ,
Nov 13, 2019

Copy link to clipboard

Copied

It's just annoying. 600+ lines of CSS and this is the only error I have. Other people have also been complaining about this issue for a long time now so it's probably Dreamweaver not recognising fr units for some reason.

error.PNG

Adobe Community Professional
Correct answer by BenPleysier | Adobe Community Professional

You can turn off linting if you cannot stand to ignore the so-called error.

Topics

Error

Views

772

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Can't use the CSS fr Unit on Dreamweaver? (Unexpected token '1fr' at line 251, col8.)

Community Beginner ,
Nov 13, 2019

Copy link to clipboard

Copied

It's just annoying. 600+ lines of CSS and this is the only error I have. Other people have also been complaining about this issue for a long time now so it's probably Dreamweaver not recognising fr units for some reason.

error.PNG

Adobe Community Professional
Correct answer by BenPleysier | Adobe Community Professional

You can turn off linting if you cannot stand to ignore the so-called error.

Topics

Error

Views

773

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Nov 13, 2019

Copy link to clipboard

Copied

You can turn off linting if you cannot stand to ignore the so-called error.


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Community Beginner ,
Nov 13, 2019

Copy link to clipboard

Copied

Thanks, will do for now.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
LEGEND ,
Nov 13, 2019

Copy link to clipboard

Copied

A lot of editors are way behind in terms of forward thinking workflows/css. I'm surprised at DW though as it should be ontop of it given the companies resources, smaller companies or independent software developers can somewhat be forgiven.

 

For what its worth NO editor gets linting absolutely correct, some are better than other BUT NONE are perfect. I would either live with the non-errors (which agreed can be annoying) or turn linting off and maybe check with the W3c validator but I dont know if that is up to scratch these days given the numerous frameworks being used, which are likely to throw errors.

 

Good to see you are embracing grid though, its exactly the right way to go! Bought a smile to my face.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Community Beginner ,
Nov 13, 2019

Copy link to clipboard

Copied

Thank You! I'll just toggle linting for now 🙂

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
Nov 13, 2019

Copy link to clipboard

Copied

That's a known bug in DW that Adobe has been aware of for well over a year. The earliest "fr units cause problems" post I see in the official bug report forum is from January 2018.

It appears the bug doesn't show itself when written into <style> tags in the <head> of an html document, but still occurs within an external .css file in the latest DW CC 2020.

So close Adobe... so close.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Resources
Learn Resources
Add a group