Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.18 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta name="description" content="HTML Tables">
  5. <meta charset="utf-8">
  6. <title>HTML Tables</title>
  7. <style id="jsbin-css">
  8. body {
  9. font-family: Helvetica, sans-serif;
  10. }
  11.  
  12. .album-view-song-list {
  13. width: 90%;
  14. margin: 1.5rem auto;
  15. font-weight: 300;
  16. font-size: 1em;
  17. background-color: rgba(20,250,200,0.6) ;
  18. color: rgb(233,50,117);
  19. }
  20. thead{
  21. font-size: 1.2eml;
  22. color: black;
  23. }
  24.  
  25. .album-view-song-list {
  26. position: relative;
  27. }
  28.  
  29. .album-view-song-item {
  30. height: 3rem;
  31. text-align: center;
  32. }
  33.  
  34. .song-item-number {
  35. width: 5%;
  36. }
  37.  
  38. .song-item-title {
  39. width: 80%;
  40. }
  41.  
  42. .song-item-duration {
  43. width: 10%;
  44. letter-spacing: 0.05rem;
  45.  
  46. }
  47. </style>
  48. </head>
  49. <body>
  50. <table class="album-view-song-list" border="1">
  51. <thead>
  52. <tr>
  53. <th>Song number </th>
  54. <th> Title </th>
  55. <th> Duration </th>
  56. <th> Times played </th>
  57. </tr>
  58. </thead>
  59. <tr class="album-view-song-item">
  60. <td class="song-item-number">1</td>
  61. <td class="song-item-title">Blue</td>
  62. <td class="song-item-duration">X:XX</td>
  63. <td class="times-played"> 3 </td>
  64. </tr>
  65. <tr class="album-view-song-item">
  66. <td class="song-item-number">2</td>
  67. <td class="song-item-title">Red</td>
  68. <td class="song-item-duration">X:XX</td>
  69. <td class="times-played"> 3 </td>
  70. </tr>
  71. <tr class="album-view-song-item">
  72. <td class="song-item-number">3</td>
  73. <td class="song-item-title">Green</td>
  74. <td class="song-item-duration">X:XX</td>
  75. <td class="times-played"> 3 </td>
  76. </tr>
  77. <tr class="album-view-song-item">
  78. <td class="song-item-number">4</td>
  79. <td class="song-item-title">Purple</td>
  80. <td class="song-item-duration">X:XX</td>
  81. <td class="times-played"> 3 </td>
  82. </tr>
  83. <tr class="album-view-song-item">
  84. <td class="song-item-number">5</td>
  85. <td class="song-item-title">Black</td>
  86. <td class="song-item-duration">X:XX</td>
  87. <td class="times-played"> 1 </td>
  88. </tr>
  89. <tr class="album-view-song-item">
  90. <td class="song-item-number">6</td>
  91. <td class="song-item-title">Blue Pt.2</td>
  92. <td class="song-item-duration">X:XX</td>
  93. <td class="times-played"> 1 </td>
  94. </tr> <tr class="album-view-song-item">
  95. <td class="song-item-number">7</td>
  96. <td class="song-item-title">Rainbow</td>
  97. <td class="song-item-duration">X:XX</td>
  98. <td class="times-played"> 5 </td>
  99. </tr>
  100. </table>
  101.  
  102.  
  103. <script id="jsbin-source-css" type="text/css">body {
  104. font-family: Helvetica, sans-serif;
  105. }
  106.  
  107. .album-view-song-list {
  108. width: 90%;
  109. margin: 1.5rem auto;
  110. font-weight: 300;
  111. font-size: 1em;
  112. background-color: rgba(20,250,200,0.6) ;
  113. color: rgb(233,50,117);
  114. }
  115. thead{
  116. font-size: 1.2eml;
  117. color: black;
  118. }
  119.  
  120. .album-view-song-list {
  121. position: relative;
  122. }
  123.  
  124. .album-view-song-item {
  125. height: 3rem;
  126. text-align: center;
  127. }
  128.  
  129. .song-item-number {
  130. width: 5%;
  131. }
  132.  
  133. .song-item-title {
  134. width: 80%;
  135. }
  136.  
  137. .song-item-duration {
  138. width: 10%;
  139. letter-spacing: 0.05rem;
  140.  
  141. }</script>
  142. </body>
  143. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement