Google Search Box CSS Problem

Anonymous9000

Posts: 2

Joined: Mon Jul 04, 2011 7:55 pm

New to the Forum

Post Tue Jul 12, 2011 6:29 pm

Google Search Box CSS Problem

The Google Search box in my blog seems to have a problem. I changed the background to black and I may have permanently set it this way. Here is the code;

  Code:
#uds-searchControl .gsc-results {
border-color: transparent;
background-color: black;
}


And, I cannot change the background colour. I want to be able to do so again.

Google Search Box CSS Problem


pensilendy

Posts: 1

Joined: Mon Jul 25, 2011 10:17 am

New to the Forum

Post Mon Jul 25, 2011 10:47 am

Re: Google Search Box CSS Problem

if you want to add google search box in your blog..
Maybe you can use this code...
Put this code in your css
  Code:
#nav-search{float:right;width:230px;height:30px;margin:0 auto;padding:5px 0}


And this in your body..
  Code:
<div id='nav-search'>
<form action='/search' id='searchThis' method='get' style='display: inline;'>
<input id='searchBox' name='q' onblur='if (this.value == &quot;&quot;) {this.value = &quot;search here..&quot;;}' onfocus='if (this.value == &quot;search here..&quot;) {this.value = &quot;&quot;}' type='text' value='search here..'/>
<input id='searchButton' type='submit' value='Search'/></form>
</div>


Thats it a simple google search for finding article in your post :salute: ...


Related Topics


Return to How to ?

Home | Privacy Policy | Contact us | Blogger Templates |
© 2009-10 Blogger Forum. All rights reserved.