Posted By


sandman7OR on 09/15/10

Tagged


Statistics


Viewed 731 times
Favorited by 1 user(s)

Basic CSS Framework - reset, text


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

Includes css reset and basic typography settings


Copy this code and paste it in your HTML
  1. /*Reset CSS CODE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
  2. html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,
  3. p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,
  4. em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,
  5. var,b,u,i,center,dl,dt,dd,ol,ul,li,form,label,legend,
  6. table,caption,tbody,tfoot,thead,tr,th,
  7. td{margin:0;padding:0;border:0;outline:0;font-size:100%;
  8. vertical-align:baseline;}
  9.  
  10. body{line-height:1}
  11. ol,ul{list-style:none}
  12. blockquote,q{quotes:none}
  13. blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}
  14. ins{text-decoration:none}del
  15. {text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
  16.  
  17. /* Text >>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
  18. body{font:87%/1.5 'Helvetica Neue',Arial,'Liberation Sans',FreeSans,sans-serif}
  19. a:focus{outline:1px dotted}
  20. hr{border:0 #ccc solid;border-top-width:1px;clear:both;height:0}
  21. h1{font-size:2.2em}
  22. h2{font-size:2.1em}
  23. h3{font-size:1.9em}
  24. h4{font-size:1.7em}
  25. h5{font-size:1.7em}
  26. h6{font-size:1.7em}
  27. ol{list-style:decimal}
  28. ul{list-style:disc}li{margin-left:30px}
  29. p,dl,hr,h1,h2,h3,h4,h5,h6,ol,ul,
  30. pre,table,address,fieldset{margin-bottom:20px}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.