Results 1 to 4 of 4

Thread: 100+ W3C errors on my pages!

  1. #1
    Your very own Pikachu! Banned Peegee's Avatar
    Join Date
    Mar 2001
    Posts
    19,488
    Blog Entries
    81

    Grin 100+ W3C errors on my pages!

    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=ht...tomatically%29

  2. #2
    ORANGE Dr Unne's Avatar
    Join Date
    Dec 1999
    Posts
    7,394
    Articles
    1
    Contributions
    • Former Administrator
    • Former Developer
    • Former Tech Admin

    Default

    You can put the scripts into their own files and include them rather than typing the scripts inline; then the page will probably validate.

  3. #3
    Your very own Pikachu! Banned Peegee's Avatar
    Join Date
    Mar 2001
    Posts
    19,488
    Blog Entries
    81

    Grin

    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
    Last edited by Peegee; 11-07-2004 at 05:22 AM.

  4. #4
    ORANGE Dr Unne's Avatar
    Join Date
    Dec 1999
    Posts
    7,394
    Articles
    1
    Contributions
    • Former Administrator
    • Former Developer
    • Former Tech Admin

    Default

    You already had this line in there originally:

    Code:
    < 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •