Solved

Making a Submit button an image?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses four methods for overlaying images in a container on a web page
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…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

864 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now