Aligning Labels with Input/Checkbox/Radio


/ Published in: CSS



Copy this code and paste it in your HTML
  1. input[type="radio"] {
  2. vertical-align: text-bottom;
  3. }
  4.  
  5. input[type="checkbox"] {
  6. vertical-align: bottom;
  7. *vertical-align: baseline;
  8. }
  9.  
  10. .ie6 input {
  11. vertical-align: text-bottom;
  12. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.