Solved

Contact Form Image Button

Posted on 2013-06-25
10
385 Views
Last Modified: 2013-06-25
I have a contact form that was working.  When I switched from a submit button it stopped sending emails.

http://menuhead.com/contactthehead.php

When I change from this.....

<input name="contactus" type="submit" id="contactus" style="width:225px;height:70px" value="Submit" src="Images/Buttons/BigRedSendMail.png"/>

to this...

<input name="contactus" type="image" id="contactus" style="width:225px;height:70px" value="Submit" src="Images/Buttons/BigRedSendMail.png"/>

Themail no longer is sent.
0
Comment
Question by:DS928
  • 5
  • 5
10 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
Comment Utility
Leave it as a submit button and just style it the same way but use
background:url(/image.jpg)
http://eisabainyo.net/weblog/2009/04/24/how-to-style-a-submit-button-in-css/
0
 

Author Comment

by:DS928
Comment Utility
Tried this...

#Contactus {
 color: #fff;
 font-size: 0;
 width: 225px;
 height: 70px;
 border: none;
 margin: 0;
 padding: 0;
 background: url(Images/Buttons/BigRedSendMail.png) no-repeat;
}

<input name="contactus" type="submit" id="Contactus"/>

The image shows in design view but not on the web.
0
 
LVL 58

Expert Comment

by:Gary
Comment Utility
Have you uploaded the changes as I cannot see them.
0
 

Author Comment

by:DS928
Comment Utility
156 is the CSS
311 is the Submit button.
Using Chrome.
0
 
LVL 58

Expert Comment

by:Gary
Comment Utility
Uh? What does that mean?
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:DS928
Comment Utility
When I view the Source code in Chrome.  Thats the line numbers for the CSS and the Submit number.
0
 
LVL 58

Expert Comment

by:Gary
Comment Utility
Can you upload the new css, it isn't online.
0
 

Author Comment

by:DS928
Comment Utility
#Contactus {
 color: #fff;
 font-size: 0;
 width: 225px;
 height: 70px;
 border: none;
 margin: 0;
 padding: 0;
 background: url(Images/Buttons/BigRedSendMail.png) no-repeat;
}

<input name="contactus" type="submit" id="Contactus"/>
0
 
LVL 58

Expert Comment

by:Gary
Comment Utility
Ok, looks fine to me whats wrong with it?
0
 

Author Comment

by:DS928
Comment Utility
For the love of.............It's working now. Thank you for your help and.................patience.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Joomla Website Malfunction 9 47
css, html 6 29
wordpress issue 2 14
HTML date format to popup calendar as soon as you click 7 11
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.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now