Grow your CSS skills. Land your dream job.

CSS Validation

  • # July 19, 2008 at 10:06 am

    why do the Mozilla /Firefox HTML tags not validate?

    example: "overflow: -moz-scrollbars-vertical;"

    Al

    # July 20, 2008 at 11:50 am

    Because they aren’t valid CSS selectors as determined by the W3C. Just because they aren’t valid though, doesn’t mean your page is broken in any way. This is just Mozilla’s way of offering your progressive enhancement for your pages before the final spec for those things are ready, or for things the feel should be offered in CSS but are not. I wouldn’t worry about any validation error slapping your wrist for those.

    # July 20, 2008 at 4:11 pm

    oh, I don’t worry about it.

    thanks Chris

    # April 21, 2009 at 8:27 am

    What exactly is CSS Validation. The way I understand it, is that it scans the code in your web site to make sure that it is coded correctly. Does this mean that if it "is valid" it will work properly with all browsers? Please help me understand the reasoning behind it. Should I worry if my sites have errors?

    # April 21, 2009 at 10:53 am
    "chris" wrote:
    What exactly is CSS Validation. The way I understand it, is that it scans the code in your web site to make sure that it is coded correctly. Does this mean that if it "is valid" it will work properly with all browsers? Please help me understand the reasoning behind it. Should I worry if my sites have errors?

    CSS Validation is a tricky one. Technically, you should worry if your CSS files have errors.

    (Quick note: CSS Validation is VERY different from the "regular" Validation that you hear about which has to do with HTML; HTML Validation is far more important and can help fix problems)

    CSS Errors. There shouldn’t be any unless you’ve intentionally put them in (eg, ie6 hacks). If you haven’t done anything like that and you’re getting errors, you need to sort those out, but at the end of the day they probably won’t break the page.

    # May 2, 2009 at 9:42 am

    Okay, so does it matter which validation tool you use? I checked a page on the W3C Validator and it came up with several "errors" that the jigsaw validator did not. They both say w3c at the top so I would assume that these are the same tools but on different sites.

    Also my site was validating until I used the pseudo-class ::selection ; ::-moz-selction class. Then it said (on jigsaw) that these were the only two errors. What’s up with that. I thought these were valid.

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".