CSS Parse Error - Missing left brace

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Evetsm
Propeller Head
Posts: 90
Joined: Wed Apr 30, 2014 8:32 am

CSS Parse Error - Missing left brace

Post by Evetsm »

Hello,
When I try opening our stylesheet, I get an error that says

Code: Select all

contains invalid CSS:
Line: 620. Char: 0. Missing left brace ({)
Do you want to open it as text?
I opened the stylesheet with the internal text editor and looked at the offending line:

Code: Select all

.imgshadowed,
.shadowed {
	-webkit-filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, .4));
	filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, .4))
}
This looks fine to me, but to further test, I used an online css validator which did not find any errors.

Please help me fix the problem within Flare. Thank you!
Steve
SteveS
Senior Propellus Maximus
Posts: 2089
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
Contact:

Re: CSS Parse Error - Missing left brace

Post by SteveS »

semicolon missing from the line starting Filter?
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
Evetsm
Propeller Head
Posts: 90
Joined: Wed Apr 30, 2014 8:32 am

Re: CSS Parse Error - Missing left brace

Post by Evetsm »

To Steve from Steve,

That was it, thank you! I was surprised because I always thought ending a selector (with no following selector) with a semi colon is considered simply a best practice, but it looks like Flare takes it seriously.

Thanks again!
Post Reply