How do I make my CSS submit button actually "submit"?
Wonder if you can help me? I'm trying to customize a form submit button using a css rollover like this:
#submit {
background-image: url(Images/button.png);
display: block;
height: 60px;
width: 299px;
}
#submit:hover {
background-position: 0 -60px;
}
#submit span
{
display: none;
}
The rollover/appearance looks fine in all browsers, but how do I turn this into an actual submit button without having the grey submit box showing up in the background?!
My html code is:
<table>
<tr>
<td width="240"><input name="Email1" type="text" size="40" ></td>
</tr>
<tr align="center">
<td colspan="2">
<input type="button" input id="submit" />
</td>
I've tried changing input type from "button" to "hidden" but then it deactivates the button functionality.
Any help would be more than appreciated, really it would...
-
HomeBizNizz -
Thanks
{{ DiscussionBoard.errors[976782].message }} -
-
Kezz -
Thanks
{{ DiscussionBoard.errors[977514].message }} -
-
n7 Studios -
Thanks
SignatureTHE Web Development Guru - Bespoke WordPress Theme, Plugin + iPhone Apps [HTML5, CSS3, PHP, MySQL].{{ DiscussionBoard.errors[977662].message }} -
-
Nick Brighton -
Thanks
{{ DiscussionBoard.errors[979020].message }} -
-
n7 Studios -
Thanks
SignatureTHE Web Development Guru - Bespoke WordPress Theme, Plugin + iPhone Apps [HTML5, CSS3, PHP, MySQL].{{ DiscussionBoard.errors[979733].message }} -