How To Add Search Box On My Blog!! Please Help!!!

Discussion in 'HTML & Website Design' started by thpinky, Oct 18, 2008.

  1. #1
    I'm creating a free ebook site but i need to add a search box so that my visitors can search what they're looking for. I don't know how to creat a search box though. Please help me.
     
    thpinky, Oct 18, 2008 IP
  2. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    jamesicus, Oct 18, 2008 IP
  3. blaz1988

    blaz1988 Active Member

    Messages:
    82
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    93
    #3
    just add this code in html

    <form action="http://www.google.com/search" method="get">

    <div style="border:1px solid black;padding:4px;width:20em;">
    <table border="0" cellpadding="0">
    <tr><td>
    <input maxlength="255"
    value="" name="q" size="25" type="text"/>
    <br/>
    <input value=" Search" type="submit"/></td></tr>
    <tr><td style="font-size:75%" align="center">
    <input checked
    value="hackspc.com" name="sitesearch" type="checkbox"/> only search PC Hacks <br/>
    </td></tr></table>
    </div>

    </form>



    Here value="hackspc.com" add your site name

    search box looks like this

    [​IMG]
     
    blaz1988, Oct 19, 2008 IP