日期:2014-05-17  浏览次数:20655 次

免费google搜索代码 改小?
网上找了个免费搜索google代码,想用“Dreamweaver 8”,把长、宽改小?但怎么也不行,求教老师指点?
代码如下:
<!-- SiteSearch Google -->
<form method="get" action="http://www.google.com/custom" target="_top">
<table border="0" bgcolor="#ffffff">
<tr><td width="82" height="30" align="left" valign="top" nowrap="nowrap">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></a>
</td>
<td width="356" nowrap="nowrap">
<input type="hidden" name="domains" value="ukgg.35free.net/">
<input type="text" name="q" size="31" maxlength="180" value="">
<input type="submit" name="sa" value="搜索">
</td></tr>
<tr>
<td height="40"> </td>
<td nowrap="nowrap">
<table width="232">
<tr>
<td width="80" height="25"> <div align="center">
  <input name="sitesearch" type="radio" value="" checked="checked" />
  <font size="-1" color="#000000">Web</font></div></td>
<td width="140">
  <div align="center">
  <input name="sitesearch" type="radio" value="ukgg.35free.net" />
  <font size="-1" color="#000000">ukgg.35free.net</font></div></td>
</tr>
</table>
<input type="hidden" name="client" value="pub-6854204841389277">
<input type="hidden" name="forid" value="1">
<input type="hidden" name="ie" value="GB2312">
<input type="hidden" name="oe" value="GB2312">
<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:1">
<input type="hidden" name="hl" value="zh-CN">
</td></tr></table>
</form>
<!-- SiteSearch Google -->



------解决方案--------------------
可以修改,把下面两项现实中不需要的选项暂时删除,然后修改一些数值,即可。希望对你有帮助。(如果仍不满意,就只有添加CSS进去修改了),代码如下:

<!-- SiteSearch Google -->
<form method="get" action="http://www.google.com/custom" target="_top">
<table border="0" bgcolor="#ffffff">
<tr><td width="82" height="30" align="left" valign="top" nowrap="nowrap">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></a>
</td>
<td width="70" nowrap="nowrap">
<input type="hidden" name="domains" value="ukgg.35free.net/">
<input type="text" name="q" size="13" maxlength="180" value="">
<input type="submit" name="sa" value="搜索">
</td></tr>
<tr>
<td height="20"> </td>
<td height="20" nowrap="nowrap"&