Hide "More results"

2 views
Skip to first unread message

leadslogic

unread,
Jul 4, 2008, 9:40:27 PM7/4/08
to Google AJAX API
I would like to hide the More results link. This looks like it would
be easy to do via CSS:

http://googleajaxsearchapi.blogspot.com/2006/12/more-results-link-new-video-bar_14.html

I have placed the CSS below the div that holds the results, but the
link is still displayed:

<div id="searchcontrol">Loading...</div>
<style type="text/css"><!--
.gsc-control { width : 100% }
div.gsc-trailing-more-results { display : none; }
--></style>

Any ideas? TIA!

jgeerdes [AJAX APIs "Guru"]

unread,
Jul 4, 2008, 10:41:10 PM7/4/08
to Google AJAX API
Try this:

#gsc-control div.gsc-trailing-more-results{display:none;}

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
jgee...@mchsi.com

If you're in the Des Moines, IA, area, check out Debra Heights
Wesleyan Church!

jgeerdes [AJAX APIs "Guru"]

unread,
Jul 4, 2008, 10:42:15 PM7/4/08
to Google AJAX API
Sorry; that should have been .gsc-control div.gsc-trail...

jg

leadslogic

unread,
Jul 5, 2008, 4:47:45 PM7/5/08
to Google AJAX API
Thanks for your reply!

That didn't work. However, I took a look at the CSS file:
http://www.google.com/uds/css/gsearch.css

and figured out what does work:

.gsc-results .gsc-cursor-box .gsc-trailing-more-results { display :
none; }

Hope that helps someone else!
Reply all
Reply to author
Forward
0 new messages