I'm new to CSS forms, and I'm having trouble getting my form to submit properly. When I submit the form it doesn't go to the action URL. Below is my CSS code and form code. Thanks!
CSS CODE
input
{
color: #666666;
border: 1px solid #666666
}
fieldset
{
border: 1px solid #666666;
width: 25em;
height: 19em;
margin-left:auto;
margin-right:auto
}
legend
{
color: #fff;
background: #ffb340;
border: 1px solid #666666;
padding: 2px 6px;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-weight:bold;
}
label
{
width: 6em;
float: left;
text-align: right;
margin-right: 1em;
display: block;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-weight:bold;
color: #666666;
}
.submit input
{
margin-left: 13.4em;
background: #ffb340;
border: 1px solid #666666;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-weight:bold;
color:#FFFFFF
}
FORM CODE
<form action="contact_thanks.cfm" method="post">
<fieldset>
<legend>Contact The DM Shop</legend>
<p><label for="name">Name</label> <input type="text" id="name" /></p>
<p><label for="e-mail">E-mail</label> <input type="text" id="e-mail" /></p>
<p><label for="phone">Phone</label> <input type="text" id="phone" /></p>
<p><label for="company">Company</label> <input type="text" id="company" /></p>
<p class="submit"><input type="submit" value="Submit" /></p>
</fieldset>
</form>
CSS CODE
input
{
color: #666666;
border: 1px solid #666666
}
fieldset
{
border: 1px solid #666666;
width: 25em;
height: 19em;
margin-left:auto;
margin-right:auto
}
legend
{
color: #fff;
background: #ffb340;
border: 1px solid #666666;
padding: 2px 6px;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-weight:bold;
}
label
{
width: 6em;
float: left;
text-align: right;
margin-right: 1em;
display: block;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-weight:bold;
color: #666666;
}
.submit input
{
margin-left: 13.4em;
background: #ffb340;
border: 1px solid #666666;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-weight:bold;
color:#FFFFFF
}
FORM CODE
<form action="contact_thanks.cfm" method="post">
<fieldset>
<legend>Contact The DM Shop</legend>
<p><label for="name">Name</label> <input type="text" id="name" /></p>
<p><label for="e-mail">E-mail</label> <input type="text" id="e-mail" /></p>
<p><label for="phone">Phone</label> <input type="text" id="phone" /></p>
<p><label for="company">Company</label> <input type="text" id="company" /></p>
<p class="submit"><input type="submit" value="Submit" /></p>
</fieldset>
</form>