Solved

Making a Submit button an image?

Posted on 1998-06-01
3
143 Views
Last Modified: 2011-04-14
Currently my submit buttons in all my forms are gray rectangles.
is there any way that they can be images? (Prefably using
straight HTML without the use of Java/JScript etc)
0
Comment
Question by:wrobel
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
flivauda earned 100 total points
ID: 1844018
<input type=image type=submit src="/graphics/search_now.gif" border=0>
 
and change the src="" to whatever graphic you want.  This will work on all netscapes and ie 4.0

ie 3 and below doesnt support graphical submit buttons

0
 
LVL 1

Expert Comment

by:flivauda
ID: 1844019
<input type=image type=submit src="/graphics/search_now.gif" border=0>

Make sure you have the type=image followed by type=submit, this fools the parser into making in an image
0
 

Author Comment

by:wrobel
ID: 1844020
Thanks very much.
I have a further question about activating the action from
a form, but I will submit that in this same HTML section
of experts exchange in the usual manner so hopefully
you can gt a further 100 points.
    Yours
    Allan
   cairs-support@cairs.co.uk

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Open dialog with server side controls in it 3 46
Filktering Alphabetically 8 41
Bootstrap 3 - Style a dropdown 1 25
Send email using HTML and PHP in separate file 5 36
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question