Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem ze stroną na divach...
vieri_pl
post
Post #1





Grupa: Zarejestrowani
Postów: 406
Pomógł: 9
Dołączył: 24.07.2005
Skąd: Bydgoszcz

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


Oto część kodu mojej strony:
  1. <div id="zawartosc">
  2. <div id="naglowek">
  3.  
  4. </div>
  5. <div id="lewe_menu">
  6. <p>
  7. <div id="menu">
  8. <ul>
  9. <li><a href="#">O mnie </a>
  10. <ul>
  11. <li><a href="#">Info</a></li>
  12. <li><a href="#">Sukcesy w sieci </a></li>
  13. </ul>
  14. </li>
  15. <li><a href="#">Zainteresowania</a>
  16. <ul>
  17. <li><a href="#">Piłka Nożna </a></li>
  18. <li><a href="#">Programowanie</a></li>
  19. </ul>
  20. </li>
  21. <li><a href="#">Moje prace </a>
  22. <ul>
  23. <li><a href="#">Skrypty</a></li>
  24. <li><a href="#">Grafika</a></li>
  25. </ul>
  26. </li>
  27. </ul>
  28. </div>
  29. </p>
  30. </div>


Validator xhtml pokazuje błąd:

Error Line 133, column 14: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag .

<div id="menu">

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").


Wszystko dobrze sie wyświetla dlaczego pokazuje błąd (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif)
Go to the top of the page
+Quote Post

Posty w temacie
- vieri_pl   Problem ze stroną na divach...   15.01.2006, 20:05:12
- - glock14   Mi sie wydaje, ze div nie moze byc w akapicie ...   15.01.2006, 23:39:27
- - vieri_pl   Dzięki działa !   16.01.2006, 14:46:03


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

 



RSS Aktualny czas: 22.08.2025 - 13:01