PDA

View Full Version : Changeing a search button look




babyjenniferLB
Apr 1, 2007, 05:09 PM
<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.



babyjenniferLB
Apr 1, 2007, 05:47 PM
and perhaps a mod can tell me why my name has changed to include Graceful in it?

Benjamin
Apr 1, 2007, 06:15 PM
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.

It is too bad that only webkit browsers allow for the 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

and perhaps a mod can tell me why my name has changed to include Graceful in it?

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

http://forums.macrumors.com/showthread.php?t=292557

babyjenniferLB
Apr 2, 2007, 07:40 AM
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.

babyjenniferLB
Apr 4, 2007, 08:56 AM
:( i just want to change the button to a picture, cant someone help me?