Advertisement
painted_dreams87

Miche Petpet Layout Coding

Jan 19th, 2020
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 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/GKeMJyV.png");
  10. }
  11. #layout {
  12. width: 534px;
  13. height: 800px;
  14. margin: 0 auto;
  15. background-image: url("http://i.imgur.com/V1AJoxL.png");
  16. }
  17. #main {
  18. font: 10pt tahoma;
  19. color: #000000;
  20. top: 300px;
  21. left: 25px;
  22. width: 475px;
  23. height: 475px;
  24. overflow: hidden;
  25. }
  26. .page {
  27. height: 475px;
  28. overflow: auto;
  29. }
  30. #nav {
  31. top: 350px;
  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: #2042a6;
  50. border-width: 1px;
  51. border-bottom-style: solid;
  52. border-color: #8ab0ff;
  53. letter-spacing: 2px;
  54. line-height: 20px;
  55. }
  56. h2 {
  57. font: 10pt tahoma;
  58. color: #17275e;
  59. text-align: center;
  60. background-color: #ffecb7;
  61. letter-spacing: 2px;
  62. line-height: 18px;
  63. }
  64. h2:hover {
  65. font: 10pt tahoma;
  66. color: #ffecb7;
  67. text-align: center;
  68. background-color: #17275e;
  69. letter-spacing: 2px;
  70. line-height: 18px;
  71. }
  72. h3 {
  73. font: 10pt tahoma;
  74. color: #187816;
  75. border-width: 1px;
  76. border-bottom-style: solid;
  77. border-color: #b3722f;
  78. letter-spacing: 2px;
  79. line-height: 18px;
  80. }
  81. b {
  82. color: #00a4a4;
  83. font: 10pt tahoma;
  84. font-weight: bold;
  85. line-height: 14px;
  86. }
  87. i {
  88. color: #c29f00;
  89. font: 10pt tahoma;
  90. font-style: italic;
  91. letter-spacing: 2px;
  92. line-height: 14px;
  93. }
  94. a:link, a:visited, a:active {
  95. color: #b46301;
  96. font: 10pt tahoma;
  97. text-decoration: none;
  98. }
  99. a:hover {
  100. color: #00a4a4;
  101. font: 10pt tahoma;
  102. text-decoration: none;
  103. }
  104. </style><br><br><br><div id="layout" style="position: relative;">
  105.  
  106.  
  107. <div id="nav" style="position: absolute;">
  108. <a href="#home" class="nav"><h2>Home</h2></a>
  109. <a href="#games" class="nav"><h2>Link</h2></a>
  110. <a href="#sitely" class="nav"><h2>Sitely</h2></a>
  111. </div>
  112.  
  113.  
  114. <div id="main" style="position: absolute;">
  115.  
  116. <a name="home"></a>
  117. <div class="page">
  118. <h1>Welcome!</h1>
  119. <p>
  120. <b>bold</b> <i>italic</i> <a href="/~slugclubministry">link</a>
  121. </p>
  122.  
  123. <h3>Header Three</h3>
  124.  
  125. </div>
  126.  
  127.  
  128. <a name="games"></a>
  129. <div class="page">
  130. <h1>Link</h1>
  131. <p>
  132. -
  133. </p>
  134. </div>
  135.  
  136.  
  137. <a name="sitely"></a>
  138. <div class="page">
  139. <h1>Credits</h1>
  140. <li>Grass PNG from <a href="/~Tisker">Silent Serenity</a></li>
  141. <li>Pandaphant, Angelpuss, Ona, Taigar, Kadoatie, Yooyu PNGs from <a href="/~payatamu">Crater</a></li>
  142. <li>Snowbunny, Anubis PNGs from <a href="/~maillouh">Details</a></li>
  143.  
  144. </div>
  145.  
  146.  
  147. </div>
  148. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement