Guest User

Untitled

a guest
Sep 23rd, 2014
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.16 KB | None | 0 0
  1. HTML File
  2.  
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <title>Y you do this</title>
  8. <link href="style.css" rel="stylesheet" type="text/css" />
  9. </head>
  10.  
  11. <body>
  12. <div id = "wrapper">
  13. <div id = "header">
  14. <div id = "text">
  15. <h1>Header</h1>
  16. </div>
  17. </div>
  18. <div id = "navigation">
  19. <span>Navigation here</span>
  20. </div>
  21.  
  22. <div id = "content">
  23. <div id = "contentleft">
  24. <div id = "contentleftheader">
  25. <h1>Dirty lazy</h1>
  26. </div>
  27. <div id = "contentlefttext">
  28. <h3>So lazy</h3>
  29. <p>
  30. So lazy that this seems almost like a hard task.
  31. So lazy that this seems almost like a hard task.
  32. So lazy that this seems almost like a hard task.
  33. So lazy that this seems almost like a hard task.
  34. So lazy that this seems almost like a hard task.
  35. So lazy that this seems almost like a hard task.
  36. So lazy that this seems almost like a hard task.
  37. So lazy that this seems almost like a hard task.
  38. So lazy that this seems almost like a hard task.
  39. So lazy that this seems almost like a hard task.
  40. So lazy that this seems almost like a hard task.
  41. So lazy that this seems almost like a hard task.
  42. So lazy that this seems almost like a hard task.</p>
  43. </div>
  44. </div>
  45. <div id = "contentright">
  46. <div id = "contentrightheader">
  47. <h1>Dirty lazy 2 aside</h1>
  48. </div>
  49. <div id = "contentrighttext">
  50. <h3>So lazy</h3>
  51. <p>
  52. So lazy that this seems almost like a hard task.
  53. So lazy that this seems almost like a hard task.
  54. So lazy that this seems almost like a hard task.
  55. So lazy that this seems almost like a hard task.
  56. So lazy that this seems almost like a hard task.
  57. So lazy that this seems almost like a hard task.
  58. So lazy that this seems almost like a hard task.
  59. So lazy that this seems almost like a hard task.
  60. So lazy that this seems almost like a hard task.
  61. So lazy that this seems almost like a hard task.
  62. So lazy that this seems almost like a hard task.
  63. So lazy that this seems almost like a hard task.
  64. So lazy that this seems almost like a hard task.</p>
  65. </div>
  66. </div>
  67. </div>
  68.  
  69. <div id = "downcontent">
  70. <div id = "column1">
  71. <div id = "column1header">
  72. <h3>Lazy</h3>
  73. </div>
  74. <div id = "column1text">
  75. You wont understand the code anyway.
  76. </div>
  77. </div>
  78. <div id = "column2">
  79. <div id = "column2header">
  80. <h3>Lazy</h3>
  81. </div>
  82. <div id = "column2text">
  83. You wont understand the code anyway.
  84. </div>
  85. </div>
  86. <div id = "column3">
  87. <div id = "column3header">
  88. <h3>Lazy</h3>
  89. </div>
  90. <div id = "column3text">
  91. You wont understand the code anyway.
  92. </div>
  93. </div>
  94. </div>
  95.  
  96. <div id = "bottom">
  97. <div id = "bottomleft">
  98. <div id = "bottomtext">
  99. I am very lazy
  100. </div>
  101. </div>
  102. <div id = "bottomright">
  103. <div id = "bottomtext">
  104. I am very lazy
  105. </div>
  106. </div>
  107. </div>
  108. </div>
  109. </body>
  110. </html>
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117. CSS file
  118. #wrapper {
  119. margin-left: auto;
  120. margin-right: auto;
  121. width: 900px;
  122. border: 1px solid black;
  123. padding: 10px;
  124. }
  125. #header {
  126. border: 1px solid black;
  127. height: 100px;
  128. background-color: #CCC;
  129. }
  130. #text {
  131. margin-top:25px;
  132. height: 50px;
  133. text-align:center;
  134. }
  135. #navigation {
  136. margin-top: 20px;
  137. height: 20px;
  138. background-color: #CCC;
  139. font-weight: bold;
  140. }
  141. #content {
  142. margin-top: 40px;
  143. height: 400px;
  144. }
  145. #contentleft {
  146. width: 500px;
  147. float: left;
  148. height: 400px;
  149. border: 1px solid black;
  150. }
  151. #contentright {
  152. float: right;
  153. width: 350px;
  154. height: 400px;
  155. border: 1px solid black;
  156. }
  157. #downcontent {
  158. clear: both;
  159. height: 150px;
  160. margin:-10px;
  161. margin-top: 20px;
  162. border: 1px solid black;
  163. }
  164. #column1, #column2, #column3 {
  165. float: left;
  166. height: 120px;
  167. width: 250px;
  168. margin-left: 27px;
  169. margin-right: 27px;
  170. border: 1px solid black;
  171. margin-top:15px;
  172.  
  173. }
  174.  
  175. #bottom {
  176. clear: both;
  177. height: 70px;
  178. border: 1px solid black;
  179. margin:-10px;
  180. margin-top: 10px;
  181. }
  182. #bottomleft {
  183. width: 50%;
  184. float: left;
  185. height:100%;
  186. text-align: center;
  187. }
  188.  
  189. #bottomright {
  190. width: 50%;
  191. float: right;
  192. height:100%;
  193. text-align: center;
  194. }
  195. #bottomtext {
  196. width: 400px;
  197. margin-left: auto;
  198. margin-right: auto;
  199. height: 20px;
  200. margin-top:25px;
  201. background-color: #CCC;
  202. }
Advertisement
Add Comment
Please, Sign In to add comment