My form submit button is not showing correctly
Posted
by
JackR
on Stack Overflow
See other posts from Stack Overflow
or by JackR
Published on 2012-07-03T21:06:07Z
Indexed on
2012/07/03
21:15 UTC
Read the original article
Hit count: 256
I have created an form that submits the contents to email. I have used the exact same coding in many other websites, but for my new website http://www.peterevansfuneraldirectors.co.uk/contact-us.html the submit button is just a grey square with text, rather than the usual button. Also the hand doesn't come up on hover.
My form code is...
<form action="php/FormToEmail.php" method="post" name="ContactForm" id="ContactForm" onsubmit="MM_validateForm('name','','R','email','','RisEmail','message subject','','R','message','','R');return document.MM_returnValue" >
<div class="form-text">
<b>Name<span class="purple">*</span></b><br />
<input name="name" type="text" id="name" size="35" style="height:23px; background-color:#FFF; color:#000; border: 1px solid #CCC;" />
</div><br />
<div class="form-text">
<b>Email<span class="purple">*</span></b><br />
<input name="email" type="text" id="email" size="35" style="height:23px; background-color:#FFF; color:#000; border: 1px solid #CCC;" />
</div><br />
<div class="form-text">
<b>Message Subject<span class="purple">*</span></b><br />
<input name="message subject" type="text" id="message subject" size="35" style="height:23px; background-color:#FFF; color:#000; border: 1px solid #CCC;" />
</div><br />
<div class="form-text">
<b>Message<span class="purple">*</span></b><br />
<textarea name="message" type="text" id="message" rows="8" cols="55" style="background-color:#FFF; color:#000; border: 1px solid #CCC;" ></textarea>
</div><br />
<div class="submit-button">
<input type="submit" name="submit" value="Submit" />
</div>
</form>
Thanks in advance!
Jack.
© Stack Overflow or respective owner