No replies
cherry2000's picture
Last seen: 9 years 36 weeks ago
Timezone: GMT-6
Joined: 2011-01-14
Posts: 29
Points: 45

how do i add padding for the image only and how do i make it a link?

this is what i got:

<script type="text/javascript">
// Google Internal Site Search script- By (<a href="" rel="nofollow"></a>)
// For this and over 400+ free scripts, visit JavaScript Kit- <a href="
//" rel="nofollow">
//</a> This notice must stay intact for use
// Enter domain of site to search.
var domainroot=""
function Gsitesearch(curobj){
curobj.q.value="site:"+domainroot+" "+curobj.qfront.value
<form action="" method="get" onSubmit="gsitesearch(this)">
<input name="q" type="hidden" />
<input name="qfront" style="border:none;background-image:url('./img/search_icon.png');background-position:right;background-repeat:no-repeat;color:#171B15;height:25px;padding-left:15px;width:130px;" type="text" value="search" onfocus="if(this.value=='search') this.value = ''" onblur="if(this.value=='') this.value = 'search'" />

thanks Smile