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 3 of 19 pages < 1 2 3 4 5 > Last »
Very clean and simple, hope more people find this site!
Clean work. well done!
how do i get this form to send the feedback in a email to me? plz anyone have any idea.
many thanks
many thanks
You will need a server side scripting language like PHP or ASP to do that. You cannot rely on action="mailto:me@example.com" since that would require a configured email client.
Anyway, check out w3schools[dot]com or PHP[dot]net to learn more.
Anyway, check out w3schools[dot]com or PHP[dot]net to learn more.
Oh now i got it. Thnaks Michiel for ur help.
Hi,
This is very nice template of form but how would i be able to do validation of the fields, like checking if the email address is entered correctly, like that
can ne one help me with that plz
Thanks
Kiran
This is very nice template of form but how would i be able to do validation of the fields, like checking if the email address is entered correctly, like that
can ne one help me with that plz
Thanks
Kiran
Very good.
I like it too much.
BUT:
How do I get the feedback to a email from the submit button?
I like it too much.
BUT:
How do I get the feedback to a email from the submit button?
yea! How do I get the feedback to a email from the sumbmit button !?
CSS is giving me a headache. What really is the correct one to use,
a break or paragraph? I came from another site which gives a tableless form but uses br
--- and one comment said it's wrong to use
it. And now here paragraph is used --- someone says it's wrong again. Great. But I'm using this code anyway.
Commenting is not available in this weblog entry.
a break or paragraph? I came from another site which gives a tableless form but uses br
--- and one comment said it's wrong to use
it. And now here paragraph is used --- someone says it's wrong again. Great. But I'm using this code anyway.


but input[type="text"] won't work in IE and will it cause any css validation problem??