1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Google Custom Search

Discussion in 'HTML & JavaScript' started by Black&Red, Feb 25, 2009.

  1. Black&Red

    Black&Red Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 14, 2008
    Messages:
    445
    Likes Received:
    248
    Location:
    Latvia
    I have very little problem and I bet it's basic html.
    [​IMG]

    This is the situation, can anyone help?
    Thanks!
     
  2. zozor

    zozor Junior Member

    Joined:
    Dec 24, 2008
    Messages:
    113
    Likes Received:
    70
    Can you show us the html code and the css if not its hard to help you
     
  3. Black&Red

    Black&Red Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 14, 2008
    Messages:
    445
    Likes Received:
    248
    Location:
    Latvia
    <div id="html1" style="position:absolute; overflow:hidden; left:448px; top:341px; width:505px; height:125px; z-index:0">
    <input type="text" name="q" size="50" /> <input type="image" src="/images/search.png" name="sa" value="Search" /> </div></form><script type="text/javascript" src="/cse/brand?form=cse-search-box&lang=en"></script></div>

    This is end of code but I think it's pretty much all needed.

    Thanks for any help!
     
  4. lord

    lord Junior Member

    Joined:
    Jan 21, 2009
    Messages:
    176
    Likes Received:
    251
    use tables :)

    make your code like this
    HTML:
    <div id="html1" style="position:absolute; overflow:hidden; left:448px; top:341px; width:505px; height:125px; z-index:0">
    <table border="0" cellspacing="1" cellpadding="1">
    <tr>
    <td valign="middle">
    <input type="text" name="q" size="50" />
    </td>
    <td valign="middle">
    <input type="image" src="/images/search.png" name="sa" value="Search" />
    </td>
    </tr>
    </table></div></form><script type="text/javascript" src="/cse/brand?form=cse-search-box&lang=en"></script></div>
    THAT WILL WORK in any browser

    you welcome
     
    • Thanks Thanks x 2
  5. Black&Red

    Black&Red Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 14, 2008
    Messages:
    445
    Likes Received:
    248
    Location:
    Latvia
    Thank you so much! :chef2::chef2::chef2:

     
  6. eshaman

    eshaman Registered Member

    Joined:
    Jan 4, 2009
    Messages:
    77
    Likes Received:
    74
    Nice one lord. Neatly done :)
     
  7. dedesaputra

    dedesaputra Newbie

    Joined:
    Mar 7, 2010
    Messages:
    4
    Likes Received:
    0
    Nice, Thanks..