Forum Moderators: not2easy

Message Too Old, No Replies

CSS Validation

Looking for a friendlier alternative

         

Spook

4:15 pm on Jun 18, 2003 (gmt 0)

10+ Year Member



Hi All.

When validating HTML using the W3C validator, any problems it throws up are accompanied by a helpful tip showing you where you went wrong. Not so the CSS validator which means that for the "cerebrally challenged" like me :( , I have to spend hours trying to fix the problems.

When validating my latest efforts I received the following error:

Line: 45 Context : #indexpage
Parse Error - #indexpage#center { padding-right: 5px; }

And try as I may, I can not correct the problem - pause for laughter.

So, is there an alternative, more "user friendly", but respected validator you could recommend?

Oh, and if anyone can tell me what is wrong with the above I would be eternally grateful.

Spook

Nick_W

4:18 pm on Jun 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>#indexpage#center

Is it really written like that in your code?

Should be:

#indexpage #center

I guess............

Nick

Spook

4:31 pm on Jun 18, 2003 (gmt 0)

10+ Year Member



Thanks Nick_W.

You wouldn't believe how much reading I have done this afternoon trying to correct that! It took you 4 minutes! :)

Seriously though, if anyone knows of a more helpful validator I, and I'm sure many others, would appreciate it.

Thanks again

Spook[ed]!

victor

4:36 pm on Jun 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



... a more helpful validator...

[htmlhelp.com...]

is not bad -- but as with all these things, it depends on the sort of errors you make if you find it helpful or not.

DrDoc

4:41 pm on Jun 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



more "user friendly", but respected validator you could recommend

W3C's CSS validator followed by a visit to Webmaster World? ;)

papabaer

4:47 pm on Jun 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It couldn't be simpler: Parse Error - #indexpage#center { padding-right: 5px; }

ANYTIME you get a parse error flag, just check your code & syntax.

Don't give up so easy...

Can you imagine how many times each day the W3 Validators are accessed? The error flags are concise. They tell you what the problem is, and where it occurs. What it doesn't do is hold your hand, rub your houlders, serve you tea and chicken broth and offer encouraging words such as "It's okay, everyone make those mistakes at least once in awhile..."

Be glad that the validators don't "dummy-down" their results. It would slow the entire process.

I'm also guessing that you will be FAR more aware of syntax and parsing errors from this point on. Would that be the same case if you were served an automatic "fix" without any action required by you? I doubt it.

The W3 Validators are great teachers.
And... quite honestly, I'd rather hear it from the source!

Spook

4:53 pm on Jun 18, 2003 (gmt 0)

10+ Year Member



Thanks for the support everybody - suddenly I feel 10 feet tall!

[Note to self - look into "max-height" property]

Spook