CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 search grid graphic

Print topic Send  topic

Author Message
lammy

Posts: 49
Posted: 04/22/2005, 1:39 PM

hello all

I was wondering if it was possible to change the search button graphic once I have built my search using the search builder.


cheers


Lammy
View profile  Send private message
Martin K.
Posted: 04/22/2005, 10:59 PM

Hello.
You can change this directly in the html Code.

Your Button Code is like this:
<input class="CobaltButton" type="submit" value="search" name="{Button_Name}">

with a picture as Button:
<input type="image" src= "images/button.gif" name="{Button_Name}">

greets martin
DonB
Posted: 04/25/2005, 6:16 PM

To implement this consistently throughout your application, I'd suggest
defining the <input> with a css class and assign that class a background
image:

In the html:
<INPUT class="searchbutton">

in the CSS:
INPUT.searchbutton {
BACKGROUND-IMAGE: url(img/open.gif); BACKGROUND-REPEAT: no-repeat;
BACKGROUND-POSITION: center center; COLOR: Transparent; BACKGROUND-COLOR:
transparent; BORDER:0px;
}

(this assumes the graphic appears in the "img" folder of your website)

It produces a button using the graphic specified, instead of the plain gray
ones you are used to seeing.
You can also experiment with adding "height" and "width" to the CSS, if
needed, to get just the right size buttons for you needs.
--
DonB

http://www.gotodon.com/ccbth


<MartinK.@forum.codecharge (Martin K.)> wrote in message
news:54269e44357e1a@news.codecharge.com...
> Hello.
> You can change this directly in the html Code.
>
> Your Button Code is like this:
> <input class="CobaltButton" type="submit" value="search"
name="{Button_Name}">
>
> with a picture as Button:
> <input type="image" src= "images/button.gif" name="{Button_Name}">
>
> greets martin
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.