abajan

CSSforForm_12642100111

Sep 22nd, 2011
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. /* reduces the form's top padding by 10px to compensate for a noticeable 10px shift downwards when relative positioning was applied to .form-section */
  2. .form-all {
  3. padding-top:10px;
  4. }
  5.  
  6. /* this ensures that the values declared for the "top" and "left" properties reposition absolutely positioned children of .form-section in relation to their parent and not the page */
  7. .form-section {
  8. position:relative;
  9. }
  10.  
  11. /* Hides the labels "First Name" and "Last Name" from the form's page but not from the email alerts and report */
  12. #label_26, #label_25 {
  13. display:none;
  14. }
  15. #id_26, #id_25 {
  16. position:absolute;
  17. top:10px;
  18. }
  19. #id_26 {
  20. left:126px;
  21. }
  22. #id_25 {
  23. left:197px;
  24. }
  25. /* removes the pink background when errors are triggered */
  26. .form-line-error {
  27. background:none repeat scroll 0 0;
  28. }
Advertisement
Add Comment
Please, Sign In to add comment