• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

MyTricksTime

  • Offers
    • FlipKart Offer
    • Amazon
    • Shopclues Offers
    • PayTm Offer
    • Coupon Codes
    • Hot Deals
    • Ebay
    • FreeCharge
    • SnapDeal Offers
    • Mobikwik
  • How to
    • Cool Tricks
    • Internet Tricks
  • Android
  • WhatsApp
  • Computer Tricks

Blogspot Tutorial: Add a Stylish Blog Search Engine

February 4, 2022 By Rahul Gaur Leave a Comment

You can add a colorful search engine to your blog with ease. Many people prefer to have a simple search engine but you can customize it to suit your taste or your blog outlook. Lets have a look at a simple search engine and then we will customize it.

A simple blog search engine


The code for this search engine is:

<form id=”searchThis” action=”/search” style=”display: inline;” method=”get”><input id=”searchBox” style=”width: 200px;” value=”Enter something here…” name=”q” onclick=”this.value=”” type=”text”/><input id=”searchButton” value=”Search!” type=”submit”/></form>

You can change two things in this simple search engine. One is value=”Search!” where you can replace Search! with some other word like Go!. You can also replace value=”Enter something here…” with some other line which will appear in the search box.

Customize this simple search engine to make it stylish and cool

Now, we have seen a simple search engine lets customize it by changing its width, height, colors & font size.


I’ve used two colors (black & white) to customize the outlook of our simple search engine and it’s looking cool, lets have a look at its code and then we’ll further customize it.

<form id=”searchThis” action=”/search” style=”display: inline;” method=”get”><input id=”searchBox” style=”width: 150px; height: 15px; color: #FFFFFF; font-size: 14px; background-color: #000000;” value=”Enter text to search…” name=”q” onclick=”this.value=”” type=”text”/><input id=”searchButton” style=”border-color: #000000; background-color: #FFFFFF; color: #000000;” value=”Submit!” type=”submit”/></form>

Now, I’ll explain styling used in this search engine.

Width

width: 150px; is defining width of this search engine, you can change it to a higher value for more width. Like if I change it width: 150px; to width: 200px; this is the result…


Height

height: 15px; is defining height, you can change also change it to another number like when I changed height: 15px; to height: 20px; this happened…


Color

color: #FFFFFF; is for white color. You can certainly have another color by entering it’s hex code and if you don’t know about hex codes then simple download ColorPic which is a free color capturing utility.

I changed the color: #FFFFFF; to color: #FFD900; which is kinda orange color and this is the result…


Font Size

font-size: 14px; is for font size in px. I changed it to a lower value 10px just to show you the effect…


Background Color of Search Box

background-color: #000000; is for background color of the search box (not of button). Lets change it tobackground-color: #FF0000; which is for red color and see what happens.


Border Color

Next things is the styling of our search button. border-color: #000000; is the border color of our search button, change it to border-color: #FF0000; and see the result…


Background Color of Search Button

background-color: #FFFFFF; is the background color of the search button, change it to #FFFF00 (yellow) and see what happens…


Search Button Text Color

Last thing is color: #000000; which is the color of search button text, lets change it to #0000FF (blue) and the result is…


Installing this search engine in your blog

You can install this engine after all the customization in your sidebar by going to Layout | Page Elements and on your sidebar click Add a Gadget link. From the new opened window chose HTML/JavaSrcipt gadget and in the Title field write a title as you wish and in the Content area, add the code of your search engine. Click Save and enjoy.
Enjoy Guys! and don’t forget to post your comments. © MyTricksTime.com

Filed Under: Blogger Widgets

Translate Blog in Other Languages with Google Translate Widget

February 3, 2022 By Rahul Gaur Leave a Comment

Google translation widget allows your blog readers to translate your blog in their language without leaving the page. This widget is powered by Google Translate technology and can be easily installed to any blog.Steps to Add the Google translate … [Continue reading] about Translate Blog in Other Languages with Google Translate Widget

Filed Under: Blogger Widgets

Java scripts to rotate the images in any websites.

February 2, 2022 By Rahul Gaur Leave a Comment

1. goto any website(eg:www.facebook.com ) thenCOPY AND PASTE THE FOLLOWING CODE IN THE BROWSER ADDRESS BAR AND SEE THE MAGIC (do it in the address bar of current tab)NOTE: ENABLE JAVASCRIPTS ON THE BROWSER(for Mozilla … [Continue reading] about Java scripts to rotate the images in any websites.

Filed Under: JAVA SCRIPT

Top Brand Portable External Hard Drive 1TB ,2TB – Cheapest Price [Free Shipping]

May 1, 2021 By Rahul Gaur Leave a Comment

Top Brand Portable External Hard Drive 1TB ,2TB - Cheapest Price

Top Brand Portable External Hard Drive 1TB,2TB - Cheapest Price - Many of us simply don't have the space to store all our personal stuff and if we have then we don't have any backup. We always worry about our stuff that if we lost then how we will … [Continue reading] about Top Brand Portable External Hard Drive 1TB ,2TB – Cheapest Price [Free Shipping]

Filed Under: Amazon, FlipKart Offer, Hot Deals Tagged With: Amazon Offer, External Hard Drive at cheapest price, Hot Deals

Best Deals on Wireless Router Cheapest Online Deals [Hot Suggestion Added]

May 1, 2021 By Rahul Gaur Leave a Comment

Best Deals on Wireless Router Cheapest Online Deals

Hello friends here we are sharing Best Deals on Wireless Router Cheapest Online Deals. In this post, we also added some hot deals suggestion for you. We recommend you to buy our suggestion because this product is best to use and give the better … [Continue reading] about Best Deals on Wireless Router Cheapest Online Deals [Hot Suggestion Added]

Filed Under: Amazon, Hot Deals Tagged With: Amazon Offer, Best Deals on Wireless Router, Hot Deals, Wireless Router Cheapest

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Interim pages omitted …
  • Go to page 169
  • Go to Next Page »

Primary Sidebar

Categories

Contact Us

Privacy Policy

Disclaimer

Sitemap

DMCA.com Protection Status

Copyright © 2022 · Themed and Powered by My Tricks Time