TurdPile

CSS page

Apr 10th, 2012
1,913
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. * {
  2.     padding: 0;
  3.     margin: 0;
  4. }
  5.  
  6. body {
  7.    
  8.     font-family:Verdana, Geneva, sans-serif;
  9.     background-color:#FFE6FF;
  10. }
  11.  
  12. header, section, footer {
  13.     display:block;
  14. }
  15.  
  16. #container {
  17.     width:1000px;
  18.     min-height:800px;
  19.     margin: 0px auto;
  20.     background-color:#FFE6FF;
  21. }
  22.  
  23. header {
  24.     background-image: url("bluebar1.jpg");
  25.     text-align:center;
  26.     margin-top:10px;
  27.     height:120px;
  28.    
  29. }
  30.  
  31. header h1 {
  32.     vertical-align:middle;
  33. }
  34.  
  35. header img {
  36.     float:right;
  37.     display:block;
  38.     padding-top:5px;
  39. }
  40.  
  41. #main {
  42.     background-color: brown;
  43. }
  44.  
  45. #main section {
  46.     margin-left: 20%;
  47.     padding: 10px;
  48.     background: #FFF;
  49. }
  50.  
  51. nav.horizontal {
  52.     float:left;
  53.     width:20%;
  54.     min-height:100%;
  55.     background: #999;
  56.     /*
  57.     background-image: url(bluebar1.jpg);
  58.     background-repeat: repeat-y;
  59.     */
  60. }
  61.  
  62. nav.horizontal li {
  63.     font-size:18px;
  64.     list-style:none;
  65.     margin: 20px 0px;
  66. }
  67.  
  68. nav.horizontal li a:hover {
  69.     background-color:#FFE6FF;
  70. }
  71.  
  72. footer {
  73.     height:50px;
  74.     margin-top:20px;
  75.     padding-top:10px;
  76.     text-align:center;
  77.     clear:both;
  78. }
RAW Paste Data Copied