Hello! Is there a way to set the height of the text box (<gcse:searchbox-only…) in the V2 API? My code follows.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <!-- Put the following javascript before the closing </head> tag. --> <script> (function() { var cx = '001804936876484588018:gi4zeddmmbs'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//www.google.com/cse/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })(); </script> <style type="text/css"> #searchbar {width:415px;} </style> </head> <body> <div id="searchbar"> <!-- Place this tag where you want the search box to render --> <gcse:searchbox-only newWindow="false" queryParameterName="search" resultsUrl="Search-ResultsV2.htm"></gcse:searchbox-only> </div> </body> </html> Thank you, Alan -- 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] To view this message on the web, visit https://groups.google.com/d/msg/google-ajax-search-api/-/AydqI1gAFHIJ For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
