[Webinar] Learn how to a build a cloud-first strategyRegister Now


Google Search Box White Gap

Posted on 2007-10-11
Medium Priority
Last Modified: 2008-09-11
Hello, I have placed a google search box on my site. On the results page, when the results come up, theres a huge white gap between the end of the results and my copyright information. Whenever I do the search in my browser IE on my computer, the spacing is right, but whenever I use it on other computers, that white gap is there.

Here is the code: There are no CSS properties here, and in the frame of my website, there are absolutely no gaps. The table cell the results are supposed to show in are supposed to expand to the width of the results.

<td colspan="17"><!-- Google Search Result Snippet Begins -->
<div id="results_"></div>
<script type="text/javascript">
  var googleSearchIframeName = "results_";
  var googleSearchFormName = "searchbox_";
  var googleSearchFrameWidth = 600;
  var googleSearchFrameborder = 0;
  var googleSearchDomain = "www.google.com";
  var googleSearchPath = "/cse";
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
<!-- Google Search Result Snippet Ends --></td>

Any ideas? Thanks. try it yourself on my new website:


Question by:jcbodyworks
LVL 20

Assisted Solution

Gawai earned 660 total points
ID: 20063102
you mean to say the gap comes only when the search result is displayed ?
but i dont see any problem or any gap

Author Comment

ID: 20063112
it happens on some browsers ive used on other computers. Maybe its a problem with older versions of IE? One of the computers I used was older. The other one, however, was around 1 year old.
LVL 65

Assisted Solution

SheharyaarSaahil earned 660 total points
ID: 20064281
works fine with me too,
i think you have checked on just one system, try with some more to get it verified :)
LVL 25

Accepted Solution

James Rodgers earned 680 total points
ID: 20064800
looks fine in both IE 7.0.5730.11 and FF, only differenc was in IE teh results were centered and in FF teh results were left aligned

Author Comment

ID: 20067354
Alright, well, I'll keep an eye out on it, but thanks for your help guys.

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question