Pages

Monday, September 12, 2011

new search box for blogger

stylish new search boxes with advanced looks brought to your by blogz expert


a. Login to Blogger Dashboard -> Design tab -> Page Elements .
b. Click on Add a Gadget where you wish to place Search Box.
c. Choose HTML/JavaScript from the List. 
d. Place any one Search Box code in to it and Save the Gadget.

Style 1


<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVmT3kIhMd4gHfvs0dFhjtinmrwa9h4bne5VJXedBDR3Xc2fEE5RwlG4FQeWqgzTqv4q8F_fDA-uWHtNlJSTF1fj7-x3T_iKvJ8w94JBTKBCoSzQVH4v-tLT70Ow4caU6ZoI3LF3RbWo00/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#w2b-searchform{display: block;padding: 10px 12px;margin:0;}
form#w2b-searchform #s{padding: 6px;margin:0;width: 235px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>   
<div id="w2b-searchbox">
    <form id="w2b-searchform" action="/search" method="get">
        <input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}' onblur='if (this.value == "") {this.value = "Search...";}'/>
        <input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton" />
    </form>
</div>


Style 2


<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6jM9Z32YVczeUNv3IOUQ0MuFYZp634-iK5tGROml0wtHuX44JR1XSLKyHJmR7h5TWmsHzLo06Hs7nkau5Ff6ZX7hhe9zEZCMsb3l21gNP_XE0pGDl6MrEEuY02KxUe6cY447xM1XBmm1j/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#w2b-searchform{display: block;padding: 10px 12px;margin:0;}
form#w2b-searchform #s{padding: 6px;margin:0;width: 235px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>   
<div id="w2b-searchbox">
    <form id="w2b-searchform" action="/search" method="get">
        <input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}' onblur='if (this.value == "") {this.value = "Search...";}'/>
        <input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton" />
    </form>
</div>



Style 3


<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYV1pfvSCwlTEz5KFIf4nFNFsIx0QG0swDy5tOQfRo7l_D2oS8dwIxAb6RjI2w8l_4VX6jNf6xVmafv36B3qi0YjedB_7BPEQqLp2gVt4AWbbEgfu2_nvl6Qr0gMHhGWCu1J8DWg3O_7nO/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#w2b-searchform{display: block;padding: 10px 12px;margin:0;}
form#w2b-searchform #s{padding: 6px;margin:0;width: 235px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>   
<div id="w2b-searchbox">
    <form id="w2b-searchform" action="/search" method="get">
        <input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}' onblur='if (this.value == "") {this.value = "Search...";}'/>
        <input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton" />
    </form>
</div>



Style 4


<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEHqF-r1sREZcLWqjwDnRiGJF1xRJG15TmA-kGsPrMNhLqiaiqIc9obya4Qy7lHdQPGC-roUCXrvIVEq1k4oRlFUOMmkzXfB6NFGlpeKcEqIuD0eX-IHOtydDyJ2sLXXpsvv9fWIRrlAu0/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#w2b-searchform{display: block;padding: 12px;margin:0;}
form#w2b-searchform #s{padding: 6px 6px 6px 26px;margin:0;width: 215px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>   
<div id="w2b-searchbox">
    <form id="w2b-searchform" action="/search" method="get">
        <input type="text" id="s" name="q" value=""/>
        <input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton" />
    </form>
</div>



Style 5


<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcBgis8NtiIKEaFvSNGtbW9DMHCX4sPYL5e63-SIcLEnGlCycBKoydVWbs8OGhRcMku5QqyttMNpf4SnM5njXFE6A15yTlD-vuPPcdOjVq-B6Oaro5NhKVqO_bD4jIiKzP6COceKEqT6Ef/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#w2b-searchform{display: block;padding: 12px;margin:0;}
form#w2b-searchform #s{padding: 6px 6px 6px 26px;margin:0;width: 215px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>   
<div id="w2b-searchbox">
    <form id="w2b-searchform" action="/search" method="get">
        <input type="text" id="s" name="q" value=""/>
        <input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton" />
    </form>
</div>



Style 6


<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8oYy9tiz__xjpiiK9UFU57HRJi5YVzIL5Z-i4BgqujronUbvKlyooZ3UP50xBBNsZk3X4xqCQ7CMNN6Eb1XgJQxZL4fNaPlqw-bgjLDtRyM4CDn8iPqx94v9tEoHzqs8i4VrBcm478HRd/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#w2b-searchform{display: block;padding: 12px;margin:0;}
form#w2b-searchform #s{padding: 6px 6px 6px 26px;margin:0;width: 215px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>   
<div id="w2b-searchbox">
    <form id="w2b-searchform" action="/search" method="get">
        <input type="text" id="s" name="q" value=""/>
        <input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton" />
    </form>
</div>

No comments:

Post a Comment