Solved

Making a Submit button an image?

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

760 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

18 Experts available now in Live!

Get 1:1 Help Now