PDA

View Full Version : Dyyryath's stats not W3C valid



pfb
03-07-2004, 07:19 PM
I clicked on the W3C and CSS icons on my team page (just to check the link was OK as been having some problems from my own pages) and was surprised to see that the validator said it wasn't valid :eek:

Teampage used: http://stats.zerothelement.com/cgi-bin/distributed-folding/render-users.pl?team=1826

W3C HTML 4.01 result: http://validator.w3.org/check?uri=http%3A%2F%2Fstats.zerothelement.com%2Fcgi-bin%2Fdistributed-folding%2Frender-users.pl%3Fteam%3D1826

CSS validator result said 'To work as intended, your CSS style sheet needs a correct document parse tree. This means you should use valid HTML.'

Just thought I'd point this out as I was surprised it came back with errors...

bwkaz
03-07-2004, 10:27 PM
:eek:

From the validator's errors, <a> open tags are missing (or a closing <a> tag exists when it shouldn't, one or the other).

From the page's source, it looks like the Team Totals table rows are generated in the same manner as each member's row, but the <a> tag is used on each member's row to set up the mouseover javascript stuff. The Team Totals rows don't do the mouseover stuff, so they don't have an <a> tag.

The question is, should the Team Totals rows do the mouseover stuff? If so, then the opening <a> tag is the answer. Otherwise, removing the closing ones will make the page validate.

(Just some observations from somebody who's seen the validation page way too often when checking his own server scripts at work... ;))

erk
03-21-2004, 03:01 AM
Originally posted by pfb
I clicked on the W3C and CSS icons on my team page (just to check the link was OK as been having some problems from my own pages) and was surprised to see that the validator said it wasn't valid :eek:

Teampage used: http://stats.zerothelement.com/cgi-bin/distributed-folding/render-users.pl?team=1826

W3C HTML 4.01 result: http://validator.w3.org/check?uri=http%3A%2F%2Fstats.zerothelement.com%2Fcgi-bin%2Fdistributed-folding%2Frender-users.pl%3Fteam%3D1826

CSS validator result said 'To work as intended, your CSS style sheet needs a correct document parse tree. This means you should use valid HTML.'

Just thought I'd point this out as I was surprised it came back with errors... Yeah well Dyyrath's stats are gone now altogether, so you won't have to loose sleep over W3C validity any longer.