Advertisement
painted_dreams87

Decorate an Ornament Coding

Nov 18th, 2019
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 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("https://i.imgur.com/Uv82UnX.png");
  10. }
  11. #layout {
  12. width: 800px;
  13. height: 600px;
  14. margin: 0 auto;
  15. background-image: url("https://i.imgur.com/WA4pSJ8.png");
  16. }
  17. #main {
  18. font: 10pt tahoma;
  19. color: #000000;
  20. top: 130px;
  21. left: 60px;
  22. width: 680px;
  23. height: 440px;
  24. overflow: hidden;
  25. }
  26. .page {
  27. height: 440px;
  28. overflow: auto;
  29. }
  30. #nav {
  31. top: 220px;
  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: #b0673f;
  50. border-width: 1px;
  51. border-bottom-style: solid;
  52. border-color: #792528;
  53. letter-spacing: 2px;
  54. line-height: 20px;
  55. }
  56. h2 {
  57. font: 10pt tahoma;
  58. color: #ffe8cc;
  59. text-align: center;
  60. background-color: #6e5747;
  61. letter-spacing: 2px;
  62. line-height: 18px;
  63. }
  64. h2:hover {
  65. font: 10pt tahoma;
  66. color: #6e5747;
  67. text-align: center;
  68. background-color: #ffe8cc;
  69. letter-spacing: 2px;
  70. line-height: 18px;
  71. }
  72. b {
  73. color: #792528;
  74. font: 10pt tahoma;
  75. font-weight: bold;
  76. line-height: 14px;
  77. }
  78. i {
  79. color: #b0673f;
  80. font: 10pt tahoma;
  81. font-style: italic;
  82. line-height: 14px;
  83. }
  84. a:link, a:visited, a:active {
  85. color: #b14041;
  86. font: 10pt tahoma;
  87. text-decoration: none;
  88. }
  89. a:hover {
  90. color: #b0673f;
  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.  
  105. <a name="home"></a>
  106. <div class="page">
  107. <h1>Header 1</h1>
  108. <p>
  109. text goes here <b>this is bold</b> <i>this is italic</i> <a href="/~slugclubministry">this is a link</a>
  110. </p>
  111. </div>
  112.  
  113.  
  114. <a name="page1"></a>
  115. <div class="page">
  116. <h1>Page 1</h1>
  117. <p>
  118. -
  119. </p>
  120. </div>
  121.  
  122.  
  123. </div>
  124. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement