Advertisement
owlette

tabs.

Jan 16th, 2014
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.81 KB | None | 0 0
  1. <style>
  2. /*This is what your tabbed pages will look like*/
  3. .contentbox {
  4. background-image:url('');
  5. left:290px;
  6. top:250px;
  7. width:270px;
  8. background-color:none;
  9. position:absolute;
  10. height:425px;
  11. font-size:10px;
  12. font-family: palatino;
  13. line-height: 100%;
  14. color:#452d29;
  15. box-shadow:1px 1px 20px #000;
  16. border:0px;
  17. border-radius:10px;
  18. border-style: solid;
  19. border-color:black;
  20. font-style:normal;
  21. letter-spacing:1px;
  22. }
  23.  
  24. /*This is to align and shape content inside tabbed pages*/
  25. .section {
  26. height: 415px;
  27. overflow: auto;
  28. text-align: left;
  29. padding-right:25px;
  30. padding-left:8px;
  31. padding-top:10px;
  32. }
  33.  
  34. /*This basically makes the tabs, removing it will make it not work, fuck if I know why.*/
  35. .block {
  36. width: 290px;
  37. height: 425px;
  38. overflow: auto;
  39. overflow-y: hidden;
  40. border-top:0px;
  41. border:0px solid white;
  42. }
  43.  
  44. /*This is the text of your links for the tabs basically*/
  45. #text{
  46. position:fixed;
  47. width: 200px;
  48. height: 30px;
  49. top: 220px;
  50. left: 295px;
  51. border-style:solid;
  52. border-width:0px;
  53. border-color: #cccccc;
  54. font-family: times new roman;
  55. font-size: 15px;
  56. color: black;
  57. text-align: justify;}
  58.  
  59. </style>
  60.  
  61. <div id="text">
  62. <a id="tab1" href="#01">❤</a> X
  63. <a id="tab2" href="#02">❤</a> X
  64. <a id="tab3" href="#03">❤</a> X
  65. <a id="tab3" href="#04">❤</a> X
  66. </div>
  67.  
  68.  
  69. <div class="contentbox">
  70. <div class="block">
  71.  
  72.  
  73. <a name="01"></a>
  74. <div class="section">
  75. <center><h1>Here's some text</h1></center>
  76.  
  77. <i>b a s i c s</i><br>
  78. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text. Lots of text.
  79. </div>
  80.  
  81. <a name="02"></a>
  82. <div class="section">
  83. <center><h1>02</h1></center>
  84. TEXT</div>
  85.  
  86. <a name="03"></a>
  87. <div class="section">
  88. <center><h1>03</h1></center>
  89. TEXT</div>
  90.  
  91. <a name="04"></a>
  92. <div class="section">
  93. <center><h1>04</h1></center>
  94. TEXT</div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement