Advertisement
Biebergirl

table

Apr 4th, 2018
596
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!-- Start Styles. Move the 'style' tags and everything between them to between the 'head' tags -->
  2. <style type="text/css">
  3. .myOtherTable { width:400px;background-color:#FFFFE0;border-collapse:collapse;color:#000;font-size:18px; }
  4. .myOtherTable th { background-color:#BDB76B;color:white;width:50%;font-variant:small-caps; }
  5. .myOtherTable td, .myOtherTable th { padding:5px;border:0; }
  6. .myOtherTable td { font-family:Georgia, Garamond, serif; border-bottom:1px solid #BDB76B;height:180px; }
  7. </style>
  8. <!-- End Styles -->
  9. <table class="myOtherTable">
  10. <tr>
  11. <th>Table Header</th><th>Table Header</th>
  12. </tr>
  13. <tr>
  14. <td>Table cell 1</td><td>Table cell 2</td>
  15. </tr>
  16. <tr>
  17. <td>Table cell 3</td><td>Table cell 4</td>
  18. </tr>
  19. </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement