me2arafat

CSS Basic Code

Dec 16th, 2015
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.99 KB | None | 0 0
  1. * {margin:0;padding:0}
  2. body {font-family: Arial,Helvetica,sans-serif; font-size: 14px; line-height: 22px;color:#666;}
  3. a, a:hover {text-decoration:none;}
  4. h1, h2, h3, h4, h5, h6 {font-weight:normal;}
  5. .content p, .sidebar p, .content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {margin-bottom:15px}
  6. ul, ol {margin-left:15px;margin-bottom:15px;margin-top:15px}
  7. img, img a { border: none; height: auto; max-width: 100%; }
  8. .alignleft {float:left;margin-right:10px}
  9. .alignright {float:right;margin-left:10px}
  10. .aligncenter {display:block;margin:0 auto}
  11. blockquote {font-style:italic;padding-left:10px;border-left:3px solid #ddd;margin:5px 0}
  12. input[type=text], textarea {border: 1px solid #ddd; margin-bottom: 5px; padding: 5px;}
  13. input[type=submit] {border: medium none; color: #fff; font-size: 16px; padding: 5px 25px;cursor:pointer;border-radius:5px}
  14. .floatleft {float:left}
  15. .floatright {float:right}
  16. .fix {overflow:hidden}
  17. .stracture {width:1000px;margin:0 auto;display:block}
Add Comment
Please, Sign In to add comment