CSS Library: Form CSS: Here
CSS Tableless Form
Author: Dynamic Drive
This is a tableless CSS form which you can use as a template for implementing your own lightweight form. It uses a combination of float and negative margins to create a two column layout for the form. One issue with the form is IE6's three pixel jog bug, which is addressed in the demo manually, by offsetting the jogged checkboxes with an additional margin. You may wish to implement a more thorough fix, though it will increase the size of the code. IE7 does not suffer from the 3 pixel bug.
Demo:
The CSS:
Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.
Comment Pages 6 of 19 pages « First < 4 5 6 7 8 > Last »
<form id="form" class="cssform" name="form" action="mailto:you@somewhere.net" onsubmit="mailto:you@somewhere.net" method="post">
<label for="user">Name</label> <input type="text" id="user" value="Your Name">
<label for="emailaddress">Email Address:</label> <input type="text" id="emailaddress" value="your email address">
<label for="comments">Request:</label>
<textarea id="comments" rows="5" cols="25"></textarea>
<label for="comments">Gender:</label>
Male: <input type="radio" name="sex">
Female: <input type="radio" name="emailaddress">
<label for="comments">Type Needed:</label>
<input type="checkbox" name="comments"> Custom
<input type="checkbox" name="hobby" class="threepxfix"> Adult
<input type="checkbox" name="hobby" class="threepxfix"> Child
<label for="terms">Agree to Terms</label> <input type="checkbox" id="terms" class="boxes">
<form METHOD="link" ACTION="mailto:you@somewhere.net"> <INPUT TYPE="submit" VALUE="Submit"></FORM>
Thats what I used. Just insert your email where it says "you@somewhere.net" The only down fall to this is that it sends an attachment of the form, but my computer wont read the attatchment. If anyone has a fix to that, this would be great.
I also like the comments form you have here that I am filling out.
Can I get this code. I want people to post comments to stories on my site.






