Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Section, Brak odpowiedzi z CSS
Veigerbo
post 27.02.2015, 12:05:53
Post #1





Grupa: Zarejestrowani
Postów: 7
Pomógł: 0
Dołączył: 7.02.2015

Ostrzeżenie: (0%)
-----


  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
  2. <meta http-equiv="Content-type" content="text/html; charset=iso-8859-2">
  3. <meta name="Description" content=" [wstaw tu opis strony] ">
  4. <meta name="Keywords" content=" [wstaw tu slowa kluczowe] ">
  5. <meta name="Author" content=" [dane autora] ">
  6. <meta name="Generator" content="kED2">
  7.  
  8. <title> Moja druga strona</title>
  9. <style type="text/css">
  10. article, aside, footer, header, nav, section {
  11. display: block;
  12. border: 0.1em solid #888fff;
  13. padding: 05.em;
  14. }
  15. section.tresc {
  16. width: 60%;
  17. float: left;
  18. }
  19.  
  20. img.menu {
  21. vertical-align: middle;
  22. border: nonoe;
  23. width: 120px; height: 20px;
  24. }
  25.  
  26. li.gorny_panel {
  27. list style: none;
  28. text-decoration: none;
  29. display: inline;
  30. white-space; nowrap;
  31. }
  32. <link rel="stylesheet" href=" [nazwa_arkusza_stylow.css] " type="text/css">
  33. </head>
  34. <header>
  35. <nav>
  36. <ul style="text-align: center; background-color: blue;">
  37. <li class="gorny_panel">
  38. <a href="Stronaglowna.html" style="text-decoration: none;">
  39. <img class="menu" src="Strona glowna1.png" alt="strona glowna"/></a>
  40. &nbsp;
  41. </li>
  42. <li class="gorny_panel">
  43. <a href="Filmy.html" style="text-decoration: none;">
  44. <img class="menu" src="Filmy1.png" alt="Filmy"/></a>
  45. &nbsp;
  46. </li>
  47. <li class="gorny_panel">
  48. <a href="Zdjecia.html" style="text-decoration: none;">
  49. <img class="menu" src="Zdjecia.png" alt="Zdjecia"/></a>
  50. &nbsp;
  51. </li>
  52. <li class="gorny_panel">
  53. <a href="Kontakty.html" style="text-decoration: none;">
  54. <img class="menu" src="Kontakty1.png" alt="Kontakty"/></a>
  55. &nbsp;
  56. </li>
  57. </ul>
  58. </nav>
  59. </header>
  60. <section class="tresc">
  61. <article>
  62. <header>Naglowek artykulu</header>
  63. <p>tekst</p>
  64. <p>tekst2</p>
  65. <footer>Stopka artykulu</footer>
  66. </article>
  67. <article>
  68. <header>Naglowek artykulu</header>
  69. <p>tekst</p>
  70. <p>tekst2</p>
  71. <footer>Stopka artykulu</footer>
  72. </article>
  73. <article>
  74. <header>Naglowek artykulu</header>
  75. <p>tekst</p>
  76. <p>tekst2</p>
  77. <footer>Stopka artykulu</footer>
  78. </article>
  79. </section>
  80. <aside>
  81. <p>Panel boczny</p>
  82. <nav>
  83. <ul>
  84. <li></li>
  85. <li </li>
  86. </ul>
  87. </nva>
  88. </aside>
  89. <footer>
  90. </footer>
  91. </body>
  92. </html>



Podpowiem mi ktoś co robie żle z Przedziałem Section ? Dodaje do niego klase, ktora zdefiniowalem na gorze, natomiast nie reaguje. Analizowałem to, ale nie potrafie dojsc do rozwiazania. Ucze sie z ksiazki "ABC jezyka HTML iXHTML Wydanie II "
Dodaje do niego klase ktora zdefiniowalem na g
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
trueblue
post 27.02.2015, 12:37:56
Post #2





Grupa: Zarejestrowani
Postów: 6 762
Pomógł: 1822
Dołączył: 11.03.2014

Ostrzeżenie: (0%)
-----


http://lmgtfy.com/?q=html5+doctype


--------------------
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 16.05.2024 - 17:35