basic site's css


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



Copy this code and paste it in your HTML
  1. /* HTML TAGS */
  2. BODY
  3. {
  4. margin:0;
  5. padding:0;
  6. font-family:"Times New Roman",Times,FreeSerif,serif;
  7. font-size:14px;
  8. color:#000;
  9. }
  10. a
  11. {
  12. text-decoration:none;
  13. color:#000;
  14. }
  15. a img
  16. {
  17. border:0;
  18. }
  19. a:hover
  20. {
  21. text-decoration:underline;
  22. }
  23.  
  24. /* OTHERS */
  25. .floatl
  26. {
  27. float:left;
  28. }
  29. .floatr
  30. {
  31. float:right;
  32. }
  33. .takeoff
  34. {
  35. padding-top:1px;
  36. }
  37. .center
  38. {
  39. margin:0 auto;
  40. }
  41. .border
  42. {
  43. border:1px solid red;
  44. }
  45. .clear
  46. {
  47. clear:both;
  48. }
  49. .nomargin
  50. {
  51. margin:0;
  52. }
  53. .nopadding
  54. {
  55. margin:0;
  56. }
  57.  
  58. /* COLORS */
  59. .cWhite
  60. {
  61. color:#FFF;
  62. }
  63. .bWhite
  64. {
  65. background-color:#FFF;
  66. }
  67. .cBlack
  68. {
  69. color:#000;
  70. }
  71. .bBlack
  72. {
  73. background-color:#000;
  74. }
  75.  
  76. /* FOR FONTS */
  77. .nospace
  78. {
  79. letter-spacing:-1px;
  80. }
  81. .spaced
  82. {
  83. letter-spacing:0;
  84. }
  85. .bolded
  86. {
  87. font-weight:bold;
  88. }
  89. .nobolded
  90. {
  91. font-weight:normal;
  92. }
  93. .italiced
  94. {
  95. font-style:italic;
  96. }
  97.  
  98. /* TEXTS */
  99. .tittle1
  100. {
  101. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.