Mystery Validator Message

Discussion in 'CSS' started by Dean Speir, Apr 21, 2008.

  1. #1
    .

    .


    I've been building a site using CSS and validating it using the W3C CSS Validator plug-in for Firefox 2.0.0.15.

    Today it yielded a message that makes no sense to me, and try as I might, I cannot get rid of it:
    I've tried everything I know, individually counted and "paired" colons and semi-colons, etc., and I cannot understand or find the problem.

    Any ideas?

    Thanks in advance.

    - Dean
     
    Dean Speir, Apr 21, 2008 IP
  2. Webray

    Webray Active Member

    Messages:
    469
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    s { /* For those rare strike-through occassions */
    background: transparent;
    vertical-align: middle;
    color: #c0c0c0;
    height: 1px;
    font-weight: 100;
    }

    Not too sure what s is for?
     
    Webray, Apr 21, 2008 IP
  3. Dean Speir

    Dean Speir Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    .

    .


    As the commented line you quoted states: "For those rare strike-through occasions."

    - Dean
     
    Dean Speir, Apr 21, 2008 IP
  4. Webray

    Webray Active Member

    Messages:
    469
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #4
    Obviously, I don't use that tag. :rolleyes:

    Thought it was missing a . or #. :)
     
    Webray, Apr 21, 2008 IP
  5. Dean Speir

    Dean Speir Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    .
    .


    Okay, now that that's settled, my root note question is still at issue.

    Can anyone help put me on track?

    - Dean
     
    Dean Speir, Apr 22, 2008 IP
  6. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Edit lemme try this again...

    Okay got it
    Your css sheet is valid.

    You have CSS in your HTML. That is what the validator means, and why you couldn't find it.
    <DIV style="background: transparent color: #000000; width: 588px; text-align: center; border: none; margin: 1em auto; font-weight: 300; font-size: 110%;">New&hellip; frequently requested S&amp;W M&amp;P modifications.<BR>

    After the word transparent, there is no ;

    Look at your validator message again, and you'll see that your URL is on the first error... the two "background colour the same as colour" warnings have your CSS's URL and not your site's... meaning, it looked everywhere for CSS and validated all it could find, including inline styles.
     
    Stomme poes, Apr 22, 2008 IP
  7. Dean Speir

    Dean Speir Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    .
    .


    Second time was the charm! Thank you for revisiting your original answer, one which had me perplexed, and scrambling to try to discern the differences between the Firefox plug-in (which advises that it is a, if not the, "W3C CSS Validator") and the "real Validator" upon which you relied… also a W3C CSS Validator.

    Both seem to do a helluva job, except the Firefox module appears to go "above and beyond," doesn't it?

    Again, you have my gratitude.

    - Dean
     
    Dean Speir, Apr 22, 2008 IP
  8. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Ah, I think I was confusing FF validator with the Built-in validators that some programmes have... apparently FF actually just links to the W3C validator. I actually tried it myself for the first time on my FF with your page. If it calls itself "a" W3C validator then possibly instead of linking to the real one it has a copy of it, in which case I'd still stick to the online one when I can because they do indeed get updated now and then.

    Uh, I had used the HTML validator and validated your HTML by accident. Glad I saw that in time! And I'm not even a blonde...

    *edit checked again, the one under TOOLS in the Web Developer Toolbar goes to the same jigsaw page, so, linking to the online version. As a note, Opera had this feature quite a while ago but I don't know if it's also a link to the online validator or its own programme... but unlike FF's, always came out-of-the-box with Opera.
     
    Stomme poes, Apr 22, 2008 IP