Design Shack - Web design showcase, CSS tutorials and web standards





Dedicated Server Hosting Beautiful Premium WordPress Themes & CSS Menus


About

Design Shack showcases inspiring web design, alongside resources and tutorials for you to succeed in the same way. It is carefully curated and edited by Josh Johnson and David Appleyard.


Part of the Smashing Network

10 CSS Form Examples


Written by David Appleyard, On 12th March 2008.
Filed in Articles, CSS, Layouts.



Forms can be greatly enhanced with a touch of CSS, making them more usable and far more visually attractive. Follow some of the examples below and you’ll be creating stunning CSS forms in no time at all.

1. Semantic Horizontal Form

Horizontal CSS Semantic Form

This form is coded in a semantic way and the elements are positioned next to eachother except for the last fieldset which spans the full width of the form below the 3 top fieldsets. It’s been tested in FF1.x, IE6 and Opera8. (looks a little quirky in IE5.x but still usable)

2. Nice Forms

Nice Forms

A great form, with graphical elements and colour to create a different and unique look. All done with CSS and semantic coding.

3. StylePhreak Simple CSS Form

Simple CSS Form

A simple form with regular alignment and unique lines to break up the different sections. This works well as a great base to start your own custom form from.

4. Veerle’s Blue CSS Form

Veerle Blue CSS Form

A simple blue form with rounded background corners, all styled in CSS and XHTML. The layout is pixel perfect, and the images can be customized to match your own requirements.

5. Who says CSS forms can’t be pretty?

Assemble Soft's CSS Form

A unique form with soft background images to complement the fields. It highlights many form possibilities, including a pop-up calendar for choosing a date. A related tutorial also accompanies the example.

5. Man in Blue: Form Examples

6. CSS Play – A form with style

7. The Form Garden

8. Prettier Accessible Forms

9. HTML form effects with CSS

10. A 2 column CSS form layout

Tags: , , , , ,

50 Comments

  1. spigot says:

    Thanks for the list. Besides being attractive, quite a few of these offer great techniques in usability. I’ll be checking back in when creating my next form. Thanks.

  2. Great showcase, it’s always nice to have some ideas about how to style forms and make them “work”

  3. Chudnutie says:

    I think second one is best.

  4. Jo Potts says:

    Thanks for the list.
    The second one is nice – but the version you’ve linked to is broken in mac safari and firefox. The new version is:

    http://www.badboy.ro/assets/articles/niceforms1.0/niceforms.html

  5. Thanks for pointing that out – I’ve changed the link.

  6. Joseph says:

    Definitely should have included the Wufoo Form Gallery. They’re great.

    http://wufoo.com/gallery/

  7. James says:

    There is some excellent forms here.

    Thanks for sharing.

  8. Stephen Ireland says:

    Another one to include for you- http://dnevnikeklektika.com/uni-form/

  9. Eric says:

    Thank you m8t!

    Great guide, going to study on it!

  10. WebpixIndia says:

    An excellent article. Helps me lot in my projects.

  11. Mowglitech says:

    Great collection.

  12. Mike Lawson says:

    Some great examples here, thanks for sharing.

  13. Helpful examples
    Thanks!

    - Shelon Padmore

  14. Leena Ajwani says:

    Good one. I will use it in my project

  15. vienna says:

    Already using it. Nice tips! Thanks a lot

  16. Nice simple design, we’ll use it in one of our project.

  17. The nice form is cool, im using it in my projects, it so happened that you have a list in your site so i just say hi

  18. Alex says:

    Excellent examples. Nice sample

  19. Manoj says:

    Thanks for form css I have used it at my website.

    Thanks again

  20. Hamzah says:

    a fool in love makes no sense to me, but you are a fool if you don’t love, and you know what, I love those forms you’ve posted, and of course I did dl some of them.
    so, thanks and be happy.

  21. Nice CSS form.
    Thanks so much..!

  22. amar says:

    excelent examples

  23. Red17 says:

    Re: bouncing flash into these. ,

  24. Maxx20 says:

    But I think what is really necessary is to see and still live unblinded. ,

  25. Alex83 says:

    Fans use stars to identify their preferred styles. ,

  26. Pol56 says:

    October 2008 at 9:35 pm Dear Mr Goldstein,I work for the brazilian magazine and i´m interested in writing about your experiment. ,

  27. vicina.info says:

    A great collection of form styles. Those samples let others thinking of making a form prettier.

  28. Dany Permana says:

    Very nice Css Forms..
    Thamk You so Much..

    Web Services

  29. imagebytekid says:

    You’ll have to login to the BBC but we have made some cool forms you might want to see:
    https://www.bbc.co.uk/labuk/experiments/personality

  30. Thanks for the great post.

    However you should give a try to Free online database application called http://www.MyTaskHelper.com

    It includes Free Form Builder as well as Widget Builder where you can easily customize and integrate your forms to your sites!
    Cheers

  31. Atasözleri says:

    thank you, very nice working!

  32. webb says:

    Are there any free codes for forms layouts?

  33. Very nice. Thanks for sharing!

  34. Mr. Jumri says:

    cool… I like one It very usefull

  35. Mukesh.M says:

    very nice…………….

  36. satya says:

    Very Nice Totorial.

  37. Davetiye says:

    thank you wery much

  38. Just what I was looking for. Tx.

  39. atasözleri says:

    Thanks again. Wonderful examples.

    I am using in my web site..

  40. temizlik says:

    very nice shared, thanks

  41. Lucy says:

    Thanx, I was looking for an easier solution. First link off of google 8=)

  42. naveed says:

    if you have creative new form plz show me code thanks

Leave Your Reply