Changeing a search button look

Discussion in 'Web Design and Development' started by Cabbit, Apr 1, 2007.

  1. Cabbit macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #1
    Code:
    <label for="search_theme_form_keys"></label>
    <input type="text" maxlength="128" name="search_theme_form_keys" id="edit-search_theme_form_keys"  size="15" value="" title="search" class="form-text" />
    <input type="submit" name="op" value="search"  />
    <input type="hidden" name="form_id" id="edit-search-theme-form" value="search_theme_form" />
    <input type="hidden" name="form_token" id="a-unique-id" value="<?php print drupal_get_token('search_theme_form'); ?>" />
    hiya all this is mine search forum code, i would like to replace the button with a picture and make the input box have rounded corners, like itunes to fit in my site better can someone please makes my code work.
     
  2. Cabbit thread starter macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #2
    and perhaps a mod can tell me why my name has changed to include Graceful in it?
     
  3. Benjamin macrumors 6502a

    Benjamin

    Joined:
    Oct 27, 2003
    Location:
    Portland, OR
    #3
    It is too bad that only webkit browsers allow for the
    Code:
    input type="search"
    to get this effect. I use it for my site. However I am going to implement this for other browsers as well and I believe the effect is what you want. So go read the following, and shouldn't be hard to implement.

    http://www.brandspankingnew.net/archive/2005/08/adding_an_os_x.html

    As for that.... today is the first of April. :cool:

    http://forums.macrumors.com/showthread.php?t=292557
     
  4. Cabbit thread starter macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #4
    not really what im looking for, i just want to change the button with a image and perhaps give the box rounded corners witch i have seen been done before in a toutorial, its the changing the button into a rollover image i have troble with.
     
  5. Cabbit thread starter macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #5
    :( i just want to change the button to a picture, cant someone help me?
     

Share This Page