Guest User

table

a guest
Sep 20th, 2012
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.82 KB | None | 0 0
  1. <html>
  2. <title>r</title>
  3. <head>
  4.  
  5. <style type='text/css'>
  6. /* Productive Stylesheet: Generated on 10. July 2012 */
  7. html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,aside,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{
  8.     margin:0;
  9.     padding:0;
  10.     border:0;
  11.     outline:0;
  12.     font-size:100%;
  13.     vertical-align:baseline;
  14.     background:transparent
  15. }
  16.  
  17.  
  18.  
  19. table{
  20. width:100%
  21. }
  22.  
  23. table th{
  24. padding:1em
  25. }
  26.  
  27. table td{
  28. padding:.5em
  29. }
  30.  
  31.  
  32. .table-overview{
  33. width:100%;
  34. margin:1em 0;
  35. border:1px solid rgba(0,0,0,.1)
  36. }
  37.  
  38. .table-overview td,.table-overview th{
  39. padding:8px 15px;
  40. border-bottom:1px solid #eee;
  41. border-right:1px solid #eee;
  42. border-collapse:collapse;
  43. text-align:left
  44. }
  45.  
  46. .table-overview th{
  47. background-color:#ececec
  48. }
  49.  
  50.  
  51. #hor-minimalist-b {
  52.     font-family: "Lucida Sans Unicode","Lucida Grande",Sans-Serif;
  53.     font-size: 12px;
  54.     background: none repeat scroll 0% 0% rgb(255, 255, 255);
  55.     width: 480px;
  56.     border-collapse: collapse;
  57.     text-align: left;
  58.     margin: 20px;
  59. }
  60.  
  61. </style>
  62. <body>
  63. <table id="hor-minimalist-b" class="table-overview">
  64. <thead>
  65. <tr>
  66. <th scope="col">Employee</th>
  67. <th scope="col">Salary</th>
  68. <th scope="col">Bonus</th>
  69. <th scope="col">Supervisor</th>
  70. </tr>
  71. </thead>
  72. <tbody>
  73. <tr>
  74. <td>Stephen C. Cox</td>
  75. <td>$300</td>
  76. <td>$50</td>
  77. <td>Bob</td>
  78. </tr>
  79. <tr>
  80. <td>Josephin Tan</td>
  81. <td>$150</td>
  82. <td>-</td>
  83. <td>Annie</td>
  84. </tr>
  85. <tr>
  86. <td>Joyce Ming</td>
  87. <td>$200</td>
  88. <td>$35</td>
  89. <td>Andy</td>
  90. </tr>
  91. <tr>
  92. <td>James A. Pentel</td>
  93. <td>$175</td>
  94. <td>$25</td>
  95. <td>Annie</td>
  96. </tr>
  97. </tbody>
  98. </table>
  99. </body>
  100. </html>
Advertisement
Add Comment
Please, Sign In to add comment