Posted By

rts_dev on 01/04/11


Tagged

form css contact feedback


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

geldora


CSS for a Basic ASP.net Contact Form (Includes Full Name, Email, and Message Fields)


 / Published in: CSS
 

Make sure you CSS paths are correct in your HTML.

  1. label
  2. {
  3. font-weight: bold;
  4. float: left;
  5. width: 120px;
  6. }
  7.  
  8. input, textarea
  9. {
  10. width: 250px;
  11. margin-bottom: 5px;
  12. }
  13.  
  14. .required
  15. {
  16. color:red;
  17. font-weight:bold;
  18. }
  19.  
  20. textarea
  21. {
  22. width: 250px;
  23. height: 150px;
  24. }
  25.  
  26. .boxes
  27. {
  28. width: 1em;
  29. }
  30.  
  31. #submitbutton
  32. {
  33. margin-left: 120px;
  34. margin-top: 5px;
  35. width: 90px;
  36. }
  37.  
  38. br{
  39. clear: left;
  40. }
  41.  
  42. .button
  43. {
  44. margin-left: 120px;
  45. margin-top: 5px;
  46. width: 90px !important;
  47. }

Report this snippet  

You need to login to post a comment.