PDA

View Full Version : 100+ W3C errors on my pages!



Peegee
11-07-2004, 03:56 AM
The page(s) is(are) here:

http://peegee.afraid.org

each page is basically the same thing except for the content in the middle. However the problems that the W3C validator finds are all dealing with my string combination. For example I would tell javascript to document.writeln([insert a string with lots of ' \" ' characters and '+' characters combining things together]), and it would end up with 10 errors or however many invalid characters in the W3C validator.

What is particularly bizarre to me is that the pages are fine...except this nagging problem where I have an image not load in firefox, but it does in IE

Oh just check it out yourself:

http://validator.w3.org/check?uri=http%3A%2F%2Fpeegee.afraid.org%2Findex.html&charset=%28detect+automatically%29&doctype=%28detect+automatically%29

Dr Unne
11-07-2004, 04:06 AM
You can put the scripts into their own files and include them rather than typing the scripts inline; then the page will probably validate.

Peegee
11-07-2004, 04:19 AM
I only know how to include css files. How would I go about doing this? Would I put it as a function? What sort of file am I going to have to make? and etc etc etc

:(

edit:

[link href="styles/PG_styles.html" rel="styles" type="text/html" />
[link href="css/PG_fonts.css" rel="stylesheet" type="text/css" />

[script language="javascript" type="text/javascript" >
validateCookies();
[/script>

^ doesn't do anything :(

edit: I check the page anyway and it is now valid xhtml 1.0 transitional but non functional. XD one more step and I'll be one of the happiest wackos in EoFF :D

Dr Unne
11-07-2004, 06:12 AM
You already had this line in there originally:


< script type="text/javascript" language="javascript" src="cookies.js"></script>

Does that work? Use that sort of thing for your own files if it does work.