Post by zealot on May 12, 2016 6:14:07 GMT 10
How do I put CSE Search box in the center?
|
|
Post by Nathan Lecompte on May 12, 2016 11:58:51 GMT 10
What code do you have now?
|
|
Post by zealot on May 12, 2016 22:20:19 GMT 10
What code do you have now? <html> <head> <title>my site</title> <link rel="stylesheet" href="search/css/style.css" type="text/css"/> <head> <body> <script> (function() { var cx = '017228975431518692134:1kfthx-k9ue'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = 'https://cse.google.com/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })(); </script> <div style="width:500px;float:right;margin-top:10px;"><gcse:searchbox-only></gcse:searchbox-only></div></div> </body> </html>
|
|
Post by bobowk on Jun 22, 2016 16:43:53 GMT 10
zealot Why not just try the <br> (break tag)? Although, it wouldn't be ideal. Why not take a look through some o search engines codes? It may help you with what you need...
|
|
Post by Nathan Lecompte on Jun 22, 2016 20:21:12 GMT 10
Oh I forgot about this one;
Here's a solution, try uploading it to your web server first, it probably can't be viewed locally.
|
|