Ad Units Cause W3C Errors

Discussion in 'HTML & Website Design' started by WendyIMC, Sep 15, 2009.

  1. #1
    Advertising units served by merchant server cause W3C code violations. Is there a solution to this problem?

    Example
    <a href="http://ppccompany.com/fs-bin/click?id=Il9OdVKroIU&offerid=174113.10000209&type=4&subid=0" target='new' ><IMG alt="merchantdomain.COM" border="0" src="http://www.merchantdomain.com/affiliate/assistive_products.jpg"></a><IMG border="0" width="1" height="1" src="http://ppccompany.com/fs-bin/show?id=Il9OdVKroIU&bids=174113.10000209&type=4&subid=0">
     
    WendyIMC, Sep 15, 2009 IP
  2. ywp

    ywp Peon

    Messages:
    96
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The ampersand should actually be written in full.

    &amp;
    Code (markup):
    versus

    &
    Code (markup):
    Tell them to fix it and see how that works out. :)

    If you don't want clients to see the errors, have them validate a clean page and explain that you aren't responsible for code that resides on external servers. Also, tell them that Google ads give the same error.

    There might be more in there, but I went with the first thing that came to mind.

    Cheers!
     
    ywp, Sep 15, 2009 IP
  3. WendyIMC

    WendyIMC Member

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    There are a few errors in the code and most are due to special characters.

    Good advice...if an merchant wants to advertise on quality sites they should ensure that the ad unit is written in compliant code...just my opinion.

    Has anyone had a similar issue and found resolution that does not involve "living with errors"?
     
    WendyIMC, Sep 15, 2009 IP