Advertisement
painted_dreams87

Ugly Sweater Party Layout

Nov 18th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. <style>
  2. table, .sf {
  3. display: none;
  4. }
  5. .page table {
  6. display: table;
  7. }
  8. body {
  9. background-image: url("http://i.imgur.com/BNKaAh4.png");
  10. }
  11. #layout {
  12. width: 800px;
  13. height: 698px;
  14. margin: 0 auto;
  15. background-image: url("http://i.imgur.com/8hINtPk.png");
  16. }
  17. #main {
  18. font: 10pt tahoma;
  19. color: #000000;
  20. top: 150px;
  21. left: 40px;
  22. width: 725px;
  23. height: 425px;
  24. overflow: hidden;
  25. }
  26. .page {
  27. height: 425px;
  28. overflow: auto;
  29. }
  30. #nav {
  31. top: 270px;
  32. left: -200px;
  33. width: 190px;
  34. height: 390px;
  35. overflow: hidden;
  36. text-align: center;
  37. }
  38. .table {
  39. display: inline;
  40. text-align: left;
  41. }
  42. td {
  43. padding: 5px;
  44. font: 8pt tahoma;
  45. color: #000000;
  46. }
  47. h1 {
  48. font: 12pt tahoma;
  49. color: #1b753c;
  50. border-width: 1px;
  51. border-bottom-style: solid;
  52. border-color: #b62828;
  53. letter-spacing: 2px;
  54. line-height: 20px;
  55. }
  56. h2 {
  57. font: 10pt tahoma;
  58. color: #d5e6c5;
  59. text-align: center;
  60. background-color: #406237;
  61. letter-spacing: 2px;
  62. line-height: 18px;
  63. }
  64. h2:hover {
  65. font: 10pt tahoma;
  66. color: #406237;
  67. text-align: center;
  68. background-color: #d5e6c5;
  69. letter-spacing: 2px;
  70. line-height: 18px;
  71. }
  72. b {
  73. color: #b62828;
  74. font: 10pt tahoma;
  75. font-weight: bold;
  76. line-height: 14px;
  77. }
  78. i {
  79. color: #704b31;
  80. font: 10pt tahoma;
  81. font-style: italic;
  82. line-height: 14px;
  83. }
  84. a:link, a:visited, a:active {
  85. color: #3d6438;
  86. font: 10pt tahoma;
  87. text-decoration: none;
  88. }
  89. a:hover {
  90. color: #b62828;
  91. font: 10pt tahoma;
  92. text-decoration: none;
  93. }
  94. </style><br><br><br><div id="layout" style="position: relative;">
  95.  
  96.  
  97. <div id="nav" style="position: absolute;">
  98. <a href="#home" class="nav"><h2>Home</h2></a>
  99. <a href="#page1" class="nav"><h2>Page One</h2></a>
  100. </div>
  101.  
  102.  
  103. <div id="main" style="position: absolute;">
  104. <a name="home"></a>
  105. <div class="page">
  106. <h1>Header 1</h1>
  107. <p>
  108. <b>bold</b> <i>italic</i> <a href="/">link</a>
  109.  
  110. </p>
  111. </div>
  112.  
  113.  
  114.  
  115.  
  116. <a name="page1"></a>
  117. <div class="page">
  118. <h1>Page 1</h1>
  119. <p>
  120. -
  121. </p>
  122. </div>
  123.  
  124.  
  125.  
  126.  
  127. </div></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement