How to move Google Search Box from Right to Left?

Discussion in 'Graphics Discussion and Help' started by DutchgirlRN, Mar 10, 2009.

  1. DutchgirlRN

    DutchgirlRN Participant

    85
    11
    +0
    I installed a Google Search Box on my site and amazingly it worked. I also added a Pay Pal donation button. They are both on the left side of the forum under the header. How in the heck do I move them to the right side?
    Thanks :nurse: www.justusnurses.com
     
    Last edited: Mar 10, 2009
    1
  2. minstrel

    minstrel Tazmanian Veteran

    10,000
    727
    +105
    Depends how you "installed" them in the first place. Was this via a template edit?

    I'm looking at the View source of your index page and I see this:

    1. Paypal donations info

    PHP:
    <!-- /logo -->

    <!-- 
    content table -->
    <!-- 
    open content container -->

    <
    div align="center">
        <
    div class="page" style="width:100%; text-align:left">
            <
    div style="padding:0px 25px 0px 25px" align="left">




    <
    form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <
    input type="hidden" name="cmd" value="_s-xclick">
    <
    input type="hidden" name="hosted_button_id" value="3863554">
    <
    input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <
    img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </
    form>

    <
    br />
    You've stuck it in the middle of a left aligned DIV there, so you need either to move it somewhere else or add div align="right" before your added code (and of course /div after it).

    But a better way to do this is to use one of the free "Donate" add-ons available at vBulletin.org (e.g., Bills Easy Paypal Donate or Cyb Paypal Donate). This adds a link into your navigation bar instead - much less cluttered.

    2. The Google search box

    What I see now is this:

    PHP:
    <!-- / PAGENAV POPUP -->


    <
    style type="text/css">
    @
    import url(http://www.google.com/cse/api/branding.css);
    </style>
    <
    div class="cse-branding-bottom" style="background-color:#F9F6C9;color:#000000">
      <
    div class="cse-branding-form">
        <
    form action="http://www.google.com/cse" id="cse-search-box" target="_blank">
          <
    div>
            <
    input type="hidden" name="cx" value="partner-pub-2035957591654423:ahhgxe-m2nf" />
            <
    input type="hidden" name="ie" value="ISO-8859-1" />
            <
    input type="text" name="q" size="31" />
            <
    input type="submit" name="sa" value="Search" />
          </
    div>
        </
    form>
      </
    div>
      <
    div class="cse-branding-logo">
        <
    img src="http://www.google.com/images/poweredby_transparent/poweredby_FFFFFF.gif" alt="Google" />
      </
    div>
      <
    div class="cse-branding-text">
        
    Custom Search
      
    </div>
    </
    div>




    <!-- 
    guest welcome message -->
    Again, it's just kind of stuck in there randomly. If you want to position it, you should use either a div align="right" (see above) or a table with a right aligned cell.

    But again, you can add this function much more neatly as an option in the navbar by installing vB Google Adsense for Search plus Integration or GTSearch: Googleâ„¢ Custom Search Engine .

    You can see both of these in action at the Psychlinks Forum in my signature.
     
  3. DutchgirlRN

    DutchgirlRN Participant

    85
    11
    +0
    Thank You so MUCH! You are a life saver :banana:
     
  4. SMS

    SMS Neophyte

    4
    1
    +0
    Thanks too i was trying to figure out also that how to move it...
     
  5. flisagsac

    flisagsac Neophyte

    1
    1
    +0
    This is an interesting discussion. thank you for sharing
    Pls welcome to help.
    Thanks.
    :banana::banana::banana:
     
  6. JoshOm

    JoshOm Aspirant

    16
    6
    +0
    Thanks from me also It really helped me moving this search at ona of my web sites...