Advertisement
Guest User

Untitled

a guest
Feb 14th, 2016
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8"/>
  5. <meta name="author" content="Paulina Kornaś"/>
  6. <title> CSS </title>
  7. <style>
  8. #poj {
  9. width:960px;
  10. overflow:hidden;
  11. margin: 0 auto;
  12. background:rgb(222,222,222);}
  13.  
  14. #lew {width:195px;
  15. float:left;
  16. border-right: 1px solid black;}
  17.  
  18. #praw {width:760px;
  19. float:right;}
  20.  
  21. header { background-color:rgb(61,61,61);
  22. border-bottom: 1px solid black;
  23. text-align:right;
  24. padding-top:5px;}
  25.  
  26. footer {background-color:rgb(61,61,61);
  27. border-top: 1px solid black;
  28. clear: both;
  29. text-align:center;}
  30. a:link,a:visited
  31. {
  32. border-bottom: 1px solid black;
  33. background: rgb(222,222,222);}
  34.  
  35. a {color: black;
  36. text-decoration:none;
  37. display:block;
  38. padding-top:5px;
  39. padding-bottom:10px;
  40. font-variant:small-caps;
  41. font-size:15px;}
  42.  
  43. ul { padding:0px 30px 50px 0px;
  44. margin-top: 5px;
  45. list-style-type:none;}
  46.  
  47. li { width: 195px;}
  48.  
  49.  
  50. tr {background:rgb(222,222,222);
  51. border:3px solid black;
  52. text-align:center;
  53. font-size:25px;}
  54.  
  55. #tabelka {background-color:rgb(222,222,222);
  56. border: 4px double black;
  57. margin-left: 220px;
  58. margin-top:30px;
  59. margin-bottom:30px;}
  60. td {border:2px solid black;
  61. padding: 10px;}
  62.  
  63. article
  64. {width:600px;
  65. margin: 0 auto;
  66. clear: both;
  67. margin-left: 220px;}
  68. figure
  69. {width:130px;
  70. padding-left:30px;
  71. padding:30px;
  72. border: 4px solid black;
  73. background: rgb(192,192,192);}
  74. figcaption {font-style: italic;}
  75. img {padding-left: 5px;}
  76.  
  77.  
  78. </style>
  79. </head>
  80. <body>
  81. <div id="poj">
  82. <header>
  83. <h1 style="text-align:right; text-decoration:underline; font-variant:small-caps; letter-spacing:10px;font-size: 40px; padding-right:30px; color:white;"> Sprawdzian </h1>
  84.  
  85. </header>
  86. <div id="lew">
  87. <ul>
  88. <li><a href="#">Home </a></li>
  89. <li><a href="#">Walidator HTML</a></li>
  90. <li><a href="#">Walidator CSS</a></li>
  91. </ul>
  92. </div>
  93.  
  94. <div id="praw">
  95.  
  96. <table id="tabelka" border="5">
  97. <tr>
  98. <td colspan="2"> 1A </td>
  99. <td>1B </td>
  100. <td>1C </td>
  101. </tr>
  102. <tr>
  103. <td rowspan="2">2A </td>
  104. <td>2B </td>
  105. <td colspan="2">2C </td>
  106. </tr>
  107. <tr>
  108. <td>3A </td>
  109. <td colspan="2">3B</td>
  110. </tr>
  111.  
  112. </table>
  113.  
  114. <section>
  115. <article>
  116.  
  117.  
  118. <figure>
  119. <img src="html5.png" alt="html"/>
  120. <figcaption>HTML5 - HyperText Markup Language </figcaption>
  121. </figure>
  122.  
  123.  
  124. </article>
  125. </section>
  126.  
  127. </div>
  128.  
  129. <footer>
  130. Strona stworzona przez Pauline Kornaś
  131. </footer>
  132. </div>
  133. </body>
  134. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement