SubZane
03-12-2004, 10:32 AM
Hello,
I checked the box for generating XHTML code but it's not valid XHTML
here's the errors:
* Line 212, character 41:
... e="text/javascript" language="javascript">
^
Error: there is no attribute language for this element (in this HTML version)
* Line 218, character 161:
... ="http://www.statcounter.com"><img src="http://c1.statcounte ...
^
Error: element a not allowed here; possible cause is an inline element containing a block-level element
* Line 218, character 293:
... s software" /></a> </noscript>
^
Error: missing a required sub-element of noscript
My webpage is XHTML 1.1 and it won't validate with the counter script on it.
http://www.subzane.com (no counter until its xhtml 1.1 valid)
also your javascript file still generates old html 4 code instead of XHTML:
else if (window.sc_invisible) {
if(window.sc_invisible==1) {
sc_img = new Image();
sc_img.src = sc_tracking_url;
}
else {
document.writeln("<A HREF=\"http://www.StatCounter.com\" TARGET=\"_blank\"><IMG SRC=\""+sc_tracking_url+"\" ALT=\"StatCounter - Free Web Tracker and Counter\" BORDER=\"0\"><\/A>");
}
}
else {
document.writeln("<A HREF=\"http://www.StatCounter.com\" TARGET=\"_blank\"><IMG SRC=\""+sc_tracking_url+"\" ALT=\"StatCounter - Free Web Tracker and Counter\" BORDER=\"0\"><\/A>");
}
I checked the box for generating XHTML code but it's not valid XHTML
here's the errors:
* Line 212, character 41:
... e="text/javascript" language="javascript">
^
Error: there is no attribute language for this element (in this HTML version)
* Line 218, character 161:
... ="http://www.statcounter.com"><img src="http://c1.statcounte ...
^
Error: element a not allowed here; possible cause is an inline element containing a block-level element
* Line 218, character 293:
... s software" /></a> </noscript>
^
Error: missing a required sub-element of noscript
My webpage is XHTML 1.1 and it won't validate with the counter script on it.
http://www.subzane.com (no counter until its xhtml 1.1 valid)
also your javascript file still generates old html 4 code instead of XHTML:
else if (window.sc_invisible) {
if(window.sc_invisible==1) {
sc_img = new Image();
sc_img.src = sc_tracking_url;
}
else {
document.writeln("<A HREF=\"http://www.StatCounter.com\" TARGET=\"_blank\"><IMG SRC=\""+sc_tracking_url+"\" ALT=\"StatCounter - Free Web Tracker and Counter\" BORDER=\"0\"><\/A>");
}
}
else {
document.writeln("<A HREF=\"http://www.StatCounter.com\" TARGET=\"_blank\"><IMG SRC=\""+sc_tracking_url+"\" ALT=\"StatCounter - Free Web Tracker and Counter\" BORDER=\"0\"><\/A>");
}