Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    Jul 2009
    Posts
    4
    Member #
    19573
    i want to put a box next to a google search on my blog exactly like the one on this site

    if you scroll to the google search right before the first paragraph of the article where there is a rectangle that has Search HUffpost in it. thats what im trying to do

    http://www.huffingtonpost.com/2009/0..._n_247050.html

  2.  

  3. #2
    Senior Member aeroweb99's Avatar
    Join Date
    Feb 2008
    Location
    Port Huron, Michigan
    Posts
    1,037
    Member #
    16468
    Liked
    1 times
    It's just 2 boxes wrapped in a div and floated right. Is that what you're asking?

  4. #3
    Junior Member
    Join Date
    Jul 2009
    Posts
    4
    Member #
    19573
    yeah

    its the box that says Search Huffpost

    its right next to the google search

  5. #4
    Junior Member
    Join Date
    Aug 2009
    Location
    Aussie.
    Posts
    10
    Member #
    19588
    Yeah, so if im reading correctly, your asking to have a custom search but change HuffPost to your own sites name??

    First, get a Google Custom Site search box on your site. They (In as google) will give you the code to do so..

    Then, your code will look something like this...

    <form action="yourSite">
    <div>
    <input type="hidden" name="cx" value="partner-pub-!!!!!!:tlvacw-gkue" />
    <input type="hidden" name="cof" value="FORID:11" />
    <input type="hidden" name="ie" value="ISO-8859-1" />
    <input type="text" name="q" value="" size="31" id="searchField" class="fieldSkybox-bp" onfocus="clearSearchFld(this);" onblur="addGoogImg(this);"/>
    <input type="submit" name="sa" value="Search HuffPost" class="customSearchButton" />
    </div>
    </form>

    Now, in the bolded section, where it says value="Search HuffPost", change the text in between the " to say what you would like it to say.

    Hope this is what you wanted

  6. #5
    Junior Member
    Join Date
    Jul 2009
    Posts
    4
    Member #
    19573
    yes...except i want it to look exactly like the huffpost does

  7. #6
    Junior Member
    Join Date
    Aug 2009
    Location
    Aussie.
    Posts
    10
    Member #
    19588
    Oh ok,
    well this code should do it:

    <p align="right'>
    (Google code here)
    </p>


    Then, within the google code, find the part that says:

    <input type="submit" name="sa" value="Search HuffPost" class="customSearchButton" />

    and change it to:
    <input type="submit" name="sa" value="Search HuffPost" style="border:1px solid grey;font-family:Georgia;" />

    I hope that works for you. Any questions, just ask.

  8. #7
    Junior Member
    Join Date
    Jul 2009
    Posts
    4
    Member #
    19573
    Quote Originally Posted by angus930
    Oh ok,
    well this code should do it:

    <p align="right'>
    (Google code here)
    </p>


    Then, within the google code, find the part that says:

    <input type="submit" name="sa" value="Search HuffPost" class="customSearchButton" />

    and change it to:
    <input type="submit" name="sa" value="Search HuffPost" style="border:1px solid grey;font-family:Georgia;" />

    I hope that works for you. Any questions, just ask.
    hey thanx a bunch :-D ....it works except for the background should be white...not sold grey

  9. #8
    Junior Member
    Join Date
    Aug 2009
    Location
    Aussie.
    Posts
    10
    Member #
    19588
    Then just change the input to:
    <input type="submit" name="sa" value="Search HuffPost" style="border:1px solid grey;font-family:Georgia;background-color:white;" />



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:36 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com