Converting the Search Button to an image

amariotti's picture
public
amariotti - Fri, 2008-01-18 15:31

Does anyone know how this is done? The button I am referring to is the one that appears on all pages along the top. How would go about changing that button? Thanks in advance.

--Andrew


Changing the UI using CSS

idonny - Fri, 2008-02-22 16:13

You can easily replace the standard button with an image using CSS. Identify a CSS selector that appropriately targets that button something similar to:

div.form-item input#edit-submit
{
background: none;
border: none;
background-image: url("image-button.gif");
}

Let's know if you need more help


iDonny Productions: Web CMS and UI/UX Design, Development & Web Standards

Thanks

amariotti's picture
amariotti - Fri, 2008-02-22 16:41

Thanks for your help. Since then I was able to get the CSS stuff working on the search button.

Andrew (amariotti)


Double Post

amariotti's picture
amariotti - Fri, 2008-02-22 16:42

Double Post...sorry