How do i get this search box, to work with this one?

Discussion in 'HTML & Website Design' started by spy9000, Oct 6, 2008.

  1. #1
    This is my orginal search box code on my site:

    <div id="search_bg">

    <form action="index.php" method="post" id="search" class="search">
    <p>

    <label for="mod_search_searchword">
    Search </label>
    <input name="searchword" id="mod_search_searchword" maxlength="60" title="Want to do somthing? Search it!" alt="Search" class="inputbox" size="20" value="search..." onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" type="text"><input value="Search" class="button" type="submit"> <input name="option" value="com_search" type="hidden">
    <input name="task" value="search" type="hidden">
    </p>
    </form>
    </div>


    The search box does have its own style. but this one does not:

    <form action="/search.htm" id="cse-search-box">
    <div>
    <input type="hidden" name="cx" value="002875491652689420083:kiil_taxfiy" />
    <input type="hidden" name="cof" value="FORID:11" />
    <input type="hidden" name="ie" value="UTF-8" />
    <input type="text" name="q" size="31" />
    <input type="submit" name="sa" value="Search" />
    </div>
    </form>



    I need the second code put into the frist code. so that i can keep my search box style and have it do the same has the 2nd search box. If some one could please put the two together and give me back the code. that would be great. if more info is needed let me know!
     
    spy9000, Oct 6, 2008 IP
  2. spy9000

    spy9000 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    no one? this sucks.
     
    spy9000, Oct 8, 2008 IP
  3. webdesigners

    webdesigners Banned

    Messages:
    534
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #3
    You have to specify "search_bg" which you have mentioned in your 1st code. that "search_bg" is the string to pass on the search..
     
    webdesigners, Oct 8, 2008 IP