Treehouse: Grow your CSS skills. Land your dream job.

parsing error in css

  • # January 13, 2012 at 2:04 am

    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;}

    # January 13, 2012 at 2:14 am

    it should be

    .alert { border: 1px solid #F60 !important; }
    # January 20, 2012 at 6:15 am

    Did you mean the color code which is kept in 3 letters?

    # January 20, 2012 at 11:02 am

    No, he meant that the !important declaration should come before the semicolon.

    # January 21, 2012 at 12:14 am

    thanks a lot guys.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.