Domain Manage

google search not W3 compliant

Discussion in 'Website Design' started by bensd, Nov 6, 2007.

Thread Status:
Not open for further replies.
  1. bensd United Kingdom

    bensd Well-Known Member Exclusive Member

    Joined:
    Jan 2007
    Posts:
    4,956
    Likes Received:
    53
    I am in the process of building a site and have included a search box, when i came to check that it was valid code there were several errors with the google search.

    This is their code:

    Code:
     
    <!-- SiteSearch Google -->
    <form method="get" action="http://www.boyzone.info/search.php" target="_top">
    <table border="0" bgcolor="#B2A56E">
    <tr><td nowrap="nowrap" valign="top" align="left" height="32">
    
    </td>
    <td nowrap="nowrap">
    <input type="hidden" name="domains" value="www.boyzone.info"></input>
    <label for="sbi" style="display: none">Enter your search terms</label>
    <input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input>
    </td></tr>
    <tr>
    <td>&nbsp;</td>
    <td nowrap="nowrap">
    <table>
    <tr>
    <td>
    <input type="radio" name="sitesearch" value="" checked id="ss0"></input>
    <label for="ss0" title="Search the Web"><font size="-1" color="#000000">Web</font></label></td>
    <td>
    <input type="radio" name="sitesearch" value="www.boyzone.info" id="ss1"></input>
    <label for="ss1" title="Search www.boyzone.info"><font size="-1" color="#000000">www.boyzone.info</font></label></td>
    </tr>
    </table>
    <label for="sbb" style="display: none">Submit search form</label>
    <input type="submit" name="sa" value="Google Search" id="sbb"></input>
    <input type="hidden" name="client" value="pub-4425839920190753"></input>
    <input type="hidden" name="forid" value="1"></input>
    <input type="hidden" name="channel" value="9504074447"></input>
    <input type="hidden" name="ie" value="ISO-8859-1"></input>
    <input type="hidden" name="oe" value="ISO-8859-1"></input>
    <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:11"></input>
    <input type="hidden" name="hl" value="en"></input>
    </td></tr></table>
    </form>
    <!-- SiteSearch Google -->
    

    Has anyone else encountered it?

    Does anyone no how to fix it?

    What would you do? should i just leave it, as it is google's code and not mine?

    Any thoughts appreciated.

    - Ben
     
  2. Domain Forum

    Acorn Domains Elite Member

    Joined:
    1999
    Messages:
    Many
    Likes Received:
    Lots
     
  3. philliph

    philliph Active Member

    Joined:
    Jun 2007
    Posts:
    112
    Likes Received:
    0
    Not come across this before, below is a clean copy of the code;

    HTML:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title></title>
    
    <style type="text/css">
     span.c2 {color: #000000; font-size: 80%}
     label.c1 {display: none}
    </style>
    </head>
    <body>
    <form method="get" action="http://www.boyzone.info/search.php" target="_top">
    <table border="0" bgcolor="#B2A56E">
    <tr>
    <td nowrap="nowrap" valign="top" align="left" height="32"></td>
    <td nowrap="nowrap"><input type="hidden" name="domains" value="www.boyzone.info"> <label for="sbi" class="c1">Enter your search terms</label> <input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></td>
    </tr>
    <tr>
    <td> </td>
    <td nowrap="nowrap">
    <table>
    <tr>
    <td><input type="radio" name="sitesearch" value="" checked id="ss0"> <label for="ss0" title="Search the Web"><span class="c2">Web</span></label></td>
    <td><input type="radio" name="sitesearch" value="www.boyzone.info" id="ss1"> <label for="ss1" title="Search www.boyzone.info"><span class="c2">www.boyzone.info</span></label></td>
    </tr>
    </table>
    <label for="sbb" class="c1">Submit search form</label> <input type="submit" name="sa" value="Google Search" id="sbb"> <input type="hidden" name="client" value="pub-4425839920190753"> <input type="hidden" name="forid" value="1"> <input type="hidden" name="channel" value="9504074447"> <input type="hidden" name="ie" value="ISO-8859-1"> <input type="hidden" name="oe" value="ISO-8859-1"> <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:11"> <input type="hidden" name="hl" value="en"></td>
    </tr>
    </table>
    </form>
    <!-- SiteSearch Google -->
    </body>
    </html>
    
     
  4. bensd United Kingdom

    bensd Well-Known Member Exclusive Member

    Joined:
    Jan 2007
    Posts:
    4,956
    Likes Received:
    53
    Thats brilliant, thanks Phillip.
     
Thread Status:
Not open for further replies.

Share This Page