First, the link you provided returns 404. So what I'm about to say is 
conjecture.

Try putting the .gsc-control { width: 670px; } rule AFTER you load the Search 
API. E.g.,

<script type="text/javascript" src="http://www.google.com/jsapi";></script>
<script type="text/javascript">google.load('search','1');</script>
<style type="text/css">
.gsc-control{width:670px;}
</style>

If that doesn't work, place the style element at the end of the page body. The 
key here is that you want that rule to be processed AFTER the default.css file 
is loaded and applied. Later CSS overrules earlier ones in the event that there 
are conflicting selectors.

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

For more information or a project quote:
http://jgeerdes.home.mchsi.com
[email protected]

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

On May 31, 2010, at 2:51 PM, VitalBodies wrote:

> Is there a way to change width of the results of the search results?
> http://www.vitalbodies.net/site/tabbed.html
> 
> The CSS would be: (is that correct?)
> .gsc-control { width: 670px; }
> 
> I am attempting to create a tabbed search yet the default gsc-control
> width is 300px.
> I was using Firebug and changing the local CSS but the default.css of
> the Google API is overriding the local CSS.
> 
> My sense is, this is because the results are dynamic as the only div
> is the container for the whole thing (search form/results/etc).
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google AJAX APIs" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-ajax-search-api?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to