CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
[Solved] parsing error in css
matthewb
Permalink to comment
#
January 2012
Hi,
i am getting so many parsing errors in validating my css file.
So can any one say what parsing error all about and how it can be resolve?
The below css is also having parsing error.
for eg: .alert{border:1px solid #F60; !important;}
dhechler
Permalink to comment
#
January 2012
it should be
.alert { border: 1px solid #F60 !important; }
matthewb
Permalink to comment
#
January 2012
Did you mean the color code which is kept in 3 letters?
vindicateme
Permalink to comment
#
January 2012
No, he meant that the !important declaration should come before the semicolon.
matthewb
Permalink to comment
#
January 2012
thanks a lot guys.
Add a Comment
i am getting so many parsing errors in validating my css file.
So can any one say what parsing error all about and how it can be resolve?
The below css is also having parsing error.
for eg: .alert{border:1px solid #F60; !important;}