Drupal CSS Resets


/ Published in: CSS
Save to your folder(s)

Just my personal favorite defaults


Copy this code and paste it in your HTML
  1. /**MISC**/
  2. .spacer {margin:0; padding:0; font-size:0px; clear:both;}
  3. p {margin:0; padding:0 0 20px 0;}
  4. td, tr {vertical-align:top; margin:0; padding:0;}
  5. tbody {border:none;}
  6. a {outline:none;font-weight:bold; color:#663333; text-decoration:none;}
  7. a:hover {text-decoration:underline;}
  8. img {margin:0; padding:0;}
  9. li, ul, .item-list ul li {list-style:none; list-style-type:none; list-style-image:none; margin:0; padding:0;}
  10. li.leaf {list-style:none;}
  11. table {width:100%;}
  12. td {padding:5px;}
  13. h1,h2 {margind:0; padding:0;}
  14. #edit-preview {display:none;}
  15. #comment-form .tips, #comment-form a {display:none;}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.