Solved

Making a Submit button an image?

Posted on 1998-06-01
3
139 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
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…

785 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