Posted By

focal55 on 12/06/10


css drupal resets

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Drupal CSS Resets

 / Published in: CSS

Just my personal favorite defaults

  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  

You need to login to post a comment.