Advertisement
Guest User

Untitled

a guest
Sep 6th, 2013
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. HTML:
  2.  
  3.  
  4.  
  5. <head>
  6. BLA BLA
  7. </head>
  8.  
  9. <body>
  10. <div class="wrapper">
  11. <div class="page">
  12. <header>
  13. <div class="banner">BANNER STUFF</div>
  14. <nav>
  15. NAV STUFF
  16. </nav>
  17. </header>
  18.  
  19. <div class="content">
  20. LOTS OF CONTENT (THE TEXT YOU SEE ON PINK)
  21. </div>
  22.  
  23. <div class="sidebar">
  24. THE SIDE BAR
  25. </div>
  26.  
  27. <footer>
  28. FOOTER STUFF
  29. </footer>
  30.  
  31. </div>
  32. </div>
  33. </body>
  34.  
  35.  
  36.  
  37.  
  38.  
  39. CSS:
  40.  
  41.  
  42. @charset "UTF-8";
  43.  
  44. header {
  45. unimportant
  46. }
  47.  
  48. .banner:hover {
  49. unimportant
  50. }
  51.  
  52.  
  53. ul.horizontal { /* Navigation Whole */
  54. unimportant
  55. }
  56.  
  57.  
  58. ul.horizontal li { /* Navigation Buttons */
  59. unimportant
  60. }
  61.  
  62.  
  63. a.fill { /* Turns Entire Button Into Link */
  64. unimportant
  65. }
  66.  
  67.  
  68. .sidebar {
  69. unimportant
  70. }
  71.  
  72.  
  73. .content { /* THIS IS THE PINK TEXT */
  74. width: 670px;
  75. height: auto;
  76. margin: 86px 0px 0px -2px;
  77. color: #000;
  78. background-color: pink;
  79. float: left;
  80. }
  81.  
  82.  
  83. .content hr {
  84. unimportant stuff for a <hr>
  85. }
  86.  
  87.  
  88. footer { /* THIS IS THE MISPLACED FOOTER */
  89. width: 980px;
  90. height: 40px;
  91. margin-top: 44px;
  92. position: relative;
  93.  
  94. right: 2px; /* This fixes alignment due to border */
  95. border: 2px solid;
  96. border-color: #000000;
  97.  
  98.  
  99. /* RANDOM FONT CRAP */
  100. font-size: 0.85em;
  101. color: #FFFFFF;
  102. text-align: center;
  103. line-height: 40px;
  104. font-family: Arial;
  105.  
  106. }
  107.  
  108.  
  109. .wrapper { /* the overall border */
  110. max-width: 980px;
  111. min-width: 980px;
  112. min-height: auto;
  113. border: 3px solid;
  114. border-color: #000000;
  115. margin: 10px auto 0px auto;
  116. padding: 10px 12px 10px 12px;
  117. }
  118.  
  119.  
  120. .page {
  121. min-height: auto;
  122. min-width: 980px;
  123. margin: 0px auto 0px auto;
  124. position: relative;
  125. background-color: #fff;
  126. display:
  127. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement