search

Tuesday, July 24, 2012

HOW TO ADD BEAUTIFUL SEARCH BOXES TO BLOGGER

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

search box style1

<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg52WZ437uN_AetFBLRGF9Ev4nHbd2OtTVeeA7BvduXiGy8bPK3ZBHHgIcoZtL1lNnxqwp_eF05KcmxDl-st9wjiCKPwPc-YsyioZzgdK7ux_GM1JiUKVYj6W6SxnA18fsESrx0GH5kW4iz/) 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


search box style2



<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGcwuyRRURecYNi_2XfXSgQDXagRm3RdmmqIExqdA4uMdypN2fom9kSRsIjeU3CPTJqU5eOMn4cfv6zcsK-BSO-fYAtwoq4bENqe7E8aTKHzPiJSvPp7MRQMMqqV-JXemXPpvsfqZwSS2L/) 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


search box style3



<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_5xj1XKNq1Q84jAncUg2JfT_uzEQTZ_WRM4YPjnldKmmDDh6mfFLLh_-SehcD2u4HZClTP1tfgwOCs3aY2CcRWHzBOIoDWJhcnYKMr3RkPpPYyXaXQ1qItjv1UmGs3_SMgkJ5ysSyHm1w/) 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


search box style4



<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1UlZEvYBunUayQjMQVkDygtjkRnOmx52O6TYKFXWk2inTlVz0yCD6CG0G3fMQSpkS4HrC4nHpllxkb6zDnhbN4yqUZbEuByj7000Nu6hDuvyEThFMeNrDnzBXwPAi4vqYciFdDzPrqSij/) 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


search box style5



<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnG8QDWGUq-wVc58UqLFHbN86_SeVi6e8wJObCgnF1DtnamCDNEWw-PDfllqyBwhyphenhyphenpgTDDlBXObdZQ93y6zvYeh9MKkMLtwLhBmVa121VHckC98DQ_K6kz-6qcNJRHVJ5fyRkAArLVFDeu/) 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


search box style6



<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUSSLEXASmALOVUhXTg8REeS8_lF4gnZjQ38-JKkuYojOxm5vWm6RQiVC7-He9pAJag23rQdq510ncZVsJzsOudNuwTt9WpvPFPfuw5wZdOUZ47d_l_ro7mRDhk0tQe0XGXn-L4a2J5dLs/) 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>


Subscribe to Email Updates and Follow me on Twitter to receive Latest Updates form this Blog!

No comments:

Post a Comment