Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2010
    Posts
    125
    Plugin Contributions
    0

    Default Desperate Help Needed - HTML Validation :( :(

    Im pulling out my hair over the frustration this is causing me.. I first posted a question about how i can make my website more compatible with multiple browsers and i was told to first validate my code.

    I understood the CSS errors very well and how to fix them but when i validate the HTML i get something like 19 errors and i cannot understand the error on most of them, when i do im unsure how to correct the syntax properly.

    I noticed that i was able to let W3 clean up my code so i chose this option and it has given me my code 'tidied up'. Now i really dont know how im supposed to impliment this, what file exactly do i overwrite with this 'new and improved' syntax?

    I really really am desperate for some help on this one

  2. #2
    Join Date
    Apr 2010
    Posts
    125
    Plugin Contributions
    0

    Default Re: Desperate Help Needed - HTML Validation :( :(


  3. #3
    Join Date
    Apr 2010
    Posts
    125
    Plugin Contributions
    0

    Default Re: Desperate Help Needed - HTML Validation :( :(

    PLEASEE I DONT KNOW WHAT TO DO

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Desperate Help Needed - HTML Validation :( :(

    I'll probably take some flak for this, but if I check the validation of a site and don't understand what the 'error' means, I don't worry about it.

    I've seen way too many validation errors that didn't reflect what was actually in the code.

  5. #5
    Join Date
    Jul 2009
    Location
    Texas
    Posts
    209
    Plugin Contributions
    2

    Default Re: Desperate Help Needed - HTML Validation :( :(

    Ok.. just going through the errors one by one:

    ---------------

    Line 27, Column 158: cannot generate system identifier for general entity "id"

    …rchase.co.uk/index.php?main_page=page&id=16">» ABOUT</a> <a href="http://www.c…

    Ok.. this comes about from having a & (ampersand) in a URL. Ampersands need to be HTML encoded in order to not throw an error. Replace your & with &amp; in every instance.

    ----------------

    Line 57, Column 23: document type does not allow element "style" here

    <style type="text/css">

    Just what it says.. style's are only allowed in the <head> of your document.

    ---------------------

    Line 152, Column 266: cannot generate system identifier for general entity "flag.giff.gif"

    …031"><img src="images/england fanhorn&flag.giff.gif" alt="(England) Fan Horn w…

    Again with the ampersand

    ------------------------

    Line 178, Column 273: character "&amp;" is the first character of a delimiter but occurred as data

    …c="images/calc7.gif" alt="(CASIO) Tax & Exchange Calculator (HS85TE)" title=" …

    Another ampersand


    I imagine a lot of the other errors will fall away once you fix these major ones. It's not too incredibly hard to get your webpage 100% validated.

    Anthony

  6. #6
    Join Date
    Apr 2010
    Posts
    125
    Plugin Contributions
    0

    Default Re: Desperate Help Needed - HTML Validation :( :(

    Hi, thanks for the help.. one thing though how do i know where the syntax is?

    for example:

    Line 57, Column 23: document type does not allow element "style" here

    <style type="text/css">

    Just what it says.. style's are only allowed in the <head> of your document.
    It says Line 57, Column 23 but doesnt say what file?
    Also, do i just delete it? Is this incorrect syntax doing anything important?

  7. #7
    Join Date
    Apr 2010
    Posts
    125
    Plugin Contributions
    0

    Default Re: Desperate Help Needed - HTML Validation :( :(

    ???????

  8. #8
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: Desperate Help Needed - HTML Validation :( :(

    The html the validator is seeing is built on the fly by Zen Cart php code. There's no actual html page. You might have to rename some of your images (img src="images/england fanhorn&flag.giff.gif"), take out the &, and re-enter them in your products' pages. Try using the Developer's Tool Kit in Admin/Tools to find unique phrases, like style type="text/css" to find in what file this is located.
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

 

 

Similar Threads

  1. Desperate Help needed with Email Scripting
    By wiccan0974 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 1 Nov 2011, 02:08 AM
  2. Desperate help needed please...
    By bridge32 in forum General Questions
    Replies: 5
    Last Post: 8 Jul 2011, 07:16 PM
  3. W3C HTML validation help
    By Doodlebuckets in forum General Questions
    Replies: 4
    Last Post: 5 Aug 2008, 08:18 PM
  4. I need help fixing HTML validation errors
    By Exalt in forum General Questions
    Replies: 2
    Last Post: 29 Jan 2008, 08:42 PM
  5. HTML form onsubmit text return - help needed.
    By sabastina in forum General Questions
    Replies: 0
    Last Post: 14 Jan 2008, 03:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR