daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Mar 26th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. body, html {
  2. width: 800px;
  3. height: auto;
  4. }
  5. header {
  6. background-color: #000000;
  7. }
  8. table {
  9. font-family: arial, sans-serif;
  10. width: 400px;
  11. }
  12. td, th {
  13. border: 1px solid #313131;
  14. padding: 10px;
  15. text-align: center;
  16. }
  17. div {
  18. background-color: #FFFF99;
  19. display: inline-block;
  20. margin: 0;
  21. }
  22. .left {
  23. float: left;
  24. width: 200px;
  25. height: 400px;
  26. background-color: red;
  27. }
  28. .right {
  29. width: 200px;
  30. height: 400px;
  31. float: right;
  32. background-color: rgb(0, 0, 255);
  33. }
  34. .middle {
  35. width: 400px;
  36. height: 400px;
  37. margin-left: auto;
  38. margin-right: auto;
  39. }
  40. h1 {
  41. text-align: center;
  42. color: white;
  43. }
  44.  
  45. <body>
  46. <header>
  47. <h1>Prosta strona</h1>
  48. </header>
  49. <div class="left">
  50. </div>
  51. <div class="right">
  52. </div>
  53. <div class="middle">
  54. <table>
  55. <th>Pracownicy</th>
  56. <tr>
  57. <th>Imię i nazwisko</th>
  58. <th>Stanowisko</th>
  59. <th>Pensja</th>
  60. </tr>
  61. <tr>
  62. <td>Amelia Kowalska</td>
  63. <td>Sprzątaczka</td>
  64. <td>1900 zł</td>
  65. </tr>
  66. <tr>
  67. <td>Jerzy Kuma</td>
  68. <td>Sprzedawca</td>
  69. <td>2000 zł</td>
  70. </tr>
  71. <tr>
  72. <td>Andrzej Majewski</td>
  73. <td>Ochroniarz</td>
  74. <td>2200 zł</td>
  75. </tr>
  76. </table>
  77. </div>
  78. </body>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top