Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2007
    Posts
    143
    Plugin Contributions
    0

    Default Validation errors

    Hi, I have been working on my validation errors.
    I had about 40 now down to 27 mostly one link and a few images.
    The link in my header pointing to 'help', two of my sideboxes and the rest are < or >?

    My site www.anythingframed.co.uk

    Validation results http://validator.w3.org/check?uri=ww...ngframed.co.uk

  2. #2
    Join Date
    Jan 2007
    Location
    Alberta
    Posts
    24
    Plugin Contributions
    0

    Default Re: Validation errors

    Hi,

    I just looked over your validation and such and to what I can see is that you just haven't closed all the arguments either properly or at all. Example: < img src="images/woodland-trust.gif"> should be
    <img src="images/woodland-trust.gif"

    Notice there is no space in between the backet and "img". Some of your errors come from opening a divider and not closing or closing twice.

    Example: <div>whatever here, etc<div> (what you may have)
    <div>whatever here, etc.</div></div> (what you have)
    <div>whatever here, etc.</div>(what it should be)

    Thiese are little points I did notice, and hopefully this helps you out.

    DragnSoul

  3. #3
    Join Date
    Jan 2007
    Posts
    143
    Plugin Contributions
    0

    Default Re: Validation errors

    Quote Originally Posted by DragnSoul View Post
    Hi,

    I just looked over your validation and such and to what I can see is that you just haven't closed all the arguments either properly or at all. Example: < img src="images/woodland-trust.gif"> should be
    <img src="images/woodland-trust.gif"

    Notice there is no space in between the backet and "img". Some of your errors come from opening a divider and not closing or closing twice.

    Example: <div>whatever here, etc<div> (what you may have)
    <div>whatever here, etc.</div></div> (what you have)
    <div>whatever here, etc.</div>(what it should be)

    Thiese are little points I did notice, and hopefully this helps you out.

    DragnSoul
    Thanks for the reply.
    Everything I try I make more errors or mess something up on the site.
    This is how that images code is.
    <img src="images/woodland-trust.gif"
    alt="Woodland Trust Member">

    And whats so wrong with this code it comes up with so many errors.
    <li><a href="/index.php?main_page=page&id=1&chapter=20">Help</a></li>

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Validation errors

    Quote Originally Posted by Woody619 View Post
    And whats so wrong with this code it comes up with so many errors.
    <li><a href="/index.php?main_page=page&id=1&chapter=20">Help</a></li>
    It probably wants those & symbols to be represented as &amp;
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jan 2007
    Posts
    143
    Plugin Contributions
    0

    Default Re: Validation errors

    Quote Originally Posted by DrByte View Post
    It probably wants those & symbols to be represented as &amp;
    Thanks that got rid of 5 errors.
    Down to 23 now.

    How could I improve this code for one of my sideboxes.

    PHP Code:
    <table align="center">
    <
    a href="http://www.anythingframed.co.uk/index.php?main_page=free_prize_draw" target="_blank"><img src="images/free_prize_draw_130px.gif"
        
    alt="Free Prize Draw">
       </
    td
      <
    td align="center">
    <
    img src="images/m-f-made-in-uk.gif"
        
    alt="Made In The Uk">
       </
    td>
    <
    tr>
       <
    td align="center">
    <
    img src="images/woodland-trust.gif"
        
    alt="Woodland Trust Member">
       </
    td>
    </
    table

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Validation errors

    IMG tags need to be "self-closing".

    ie: add the closing slash, like this:
    Code:
    <img src="images/woodland-trust.gif"
        alt="Woodland Trust Member" />
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jan 2007
    Posts
    143
    Plugin Contributions
    0

    Default Re: Validation errors

    Thank you.

    Now all 20 errors left are with < or > ?

    http://validator.w3.org/check?uri=ww...ngframed.co.uk

 

 

Similar Threads

  1. Validation errors
    By maxy007 in forum General Questions
    Replies: 16
    Last Post: 21 Mar 2011, 01:32 PM
  2. Strange Validation Errors
    By vitalwares in forum General Questions
    Replies: 8
    Last Post: 12 Jul 2009, 10:29 PM
  3. Validation Errors
    By vitalwares in forum General Questions
    Replies: 6
    Last Post: 31 May 2008, 10:15 AM
  4. Validation Errors
    By fantasticals in forum General Questions
    Replies: 2
    Last Post: 1 Apr 2008, 06:38 PM

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