Solved

Making a Submit button an image?

Posted on 1998-06-01
3
149 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

728 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