Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="PL-pl">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Ogłoszenia</title>
  6. <link rel="stylesheet" href="styl6.css">
  7. </head>
  8.  
  9. <body>
  10. <header>
  11. <h1>Ogłoszenia drobne</h1>
  12. </header>
  13.  
  14. <section class="pierwszy">
  15. <h3>telefon</h3>
  16. <p>601601601</p>
  17. </section>
  18.  
  19. <section class="drugi">
  20. <h3>e-mail</h3>
  21. <p>ogloszenia@poczta.pl</p>
  22. </section>
  23.  
  24. <section class="trzeci">
  25. <h3>Adres</h3>
  26. <p>ul.Morska 45 Gdynia</p>
  27. </section>
  28.  
  29. <section class="czwarty">
  30. <img src="inkspace/logo.png">
  31. </section>
  32.  
  33. <div class="lewy">
  34. <h2>Ceny</h2>
  35. <table>
  36. <tr>
  37. <td>Ile?</td>
  38. <td>Koszt</td>
  39. <td>Upust</td>
  40. </tr>
  41.  
  42. <tr>
  43. <td>1 - 40</td>
  44. <td>3 PLN</td>
  45. <td rowspan="2">0,30 PLN dla stałych klientów</td>
  46. </tr>
  47.  
  48. <tr>
  49. <td>41 i więcej</td>
  50. <td>2 PLN</td>
  51. </tr>
  52. </table>
  53. </div>
  54.  
  55. <div class="srodek">
  56. <h2>Policz koszt ogłoszenia</h2>
  57. <p>Liczba ogłoszeń<input type="number"></p>
  58. <label for=""><input type="checkbox">Jestem stałym klientem</label>
  59. <button type="button" name="button">Kalkulacja</button>
  60. </div>
  61.  
  62. <div class="prawy">
  63. <h2>Znajdujesz się na stronie portalu ogłoszeniowego</h2>
  64. <img src="inkspace/grafika.png" alt="Oblicz koszt ogłoszenia">
  65. </div>
  66.  
  67. <footer>
  68. <p>Portal ogłoszeniowy opracował:</p>
  69. </footer>
  70.  
  71. </body>
  72. <html>
  73.  
  74. *{
  75. margin:0px;
  76. padding:0px;
  77. }
  78.  
  79. header{
  80. background-color:#993333;
  81. color:white;
  82. text-align:center;
  83. height:80px;
  84. }
  85.  
  86. section{
  87. font-family:Tahoma;
  88. background-color:#CC6666;
  89. color:white;
  90. text-align:center;
  91. width:25%;
  92. height:150px;
  93. float:left;
  94. }
  95.  
  96. .lewy{
  97. background-color:#CC9999;
  98. width:40%;
  99. height:550px;
  100. text-align:center;
  101. float:left;
  102. clear:both;
  103. }
  104.  
  105. .lewy table{
  106. border:1px dotted red;
  107. width:100%;
  108. }
  109.  
  110. .lewy td{
  111. text-align:center;
  112. }
  113.  
  114. .srodek{
  115. background-color:#FFCCCC;
  116. width:20%;
  117. height:550px;
  118. float: left;
  119. }
  120.  
  121. .srodek button{
  122. border:none;
  123. padding:20px;
  124. background-color:red;
  125. color:white;
  126. }
  127.  
  128. .prawy{
  129. background-color:#CC9999;
  130. width:40%;
  131. height:550px;
  132. text-align:center;
  133. float:right;
  134. }
  135.  
  136. footer{
  137. background-color:#993333;
  138. color:white;
  139. text-align:right;
  140. clear:both;
  141. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement