Jump to content

W3c Css Validator


kaseytraeger

Recommended Posts

Can someone please tell me what in the world this error message means? (see the attached .jpg image) When I validated my MT blog's CSS earlier this morning, it was fine. Now I get this strange message from W3C.

 

It makes me want to scream! Mad!!!

 

I can provide CSS source and HTML source if you need it to understand what's going on...

 

Frustrated,

Kasey

Link to comment
Share on other sites

To add to the craziness, here's another bit of info for you...

 

The previous error was generated by trying to validate the CSS on the URI http://www.doggydiaries.pudgypuppy.com/.

 

If I go back to the W3C CSS Validator, http://jigsaw.w3.org/css-validator/, and enter just the URI for the style sheet, http://www.doggydiaries.pudgypuppy.com/styles-site.css, then it validates perfectly!

 

What gives?!?

Link to comment
Share on other sites

Did you do this

Note: If you want to validate your CSS style sheet embedded in an (X)HTML document, you should first check that the (X)HTML you use is valid.
first? It looks like the CSS itself is ok but the page itself is not Valid XHTML 1.0 Transitional.

 

If I am reading it right.

Link to comment
Share on other sites

Rob, you were so right. The XHTML wouldn't validate because of some problems with a couple of comments I had left in the code and a symbol that the XML parser didn't understand (an ellipsis "..." had gotten transformed into a compressed, single-character-encoded ellipsis "…" by some automated feature in one of my coding prorams. Don't ask me how! I've never seen that happen before.)

 

Also, I learned for the first time that the XML parser won't let you use the "--" combination in a comment. So this is OK...

><!-- Here's a good comment. -->

But this is not...

><!-- Here's another comment ------ but this one is not cool. -->

 

Ah, the joys of creating clean, valide code! Sometimes ya just gotta learn to read what the validator is telling you.

 

Thanks for catching that one!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...