![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 262 Pomógł: 5 Dołączył: 8.02.2005 Skąd: Olsztyn / Zatorze Ostrzeżenie: (0%) ![]() ![]() |
Witam!
Mam drobniusi problem, a mianowicie nie moge wystrictować tego dokumentu:
Dając ten kod na http://validator.w3.org/ pojawiają mi sie takie błedy: Cytat Result: Failed validation, 34 errors File: ent3r.html Encoding: iso-8859-2 Doctype: XHTML 1.0 Strict Root Namespace: http://www.w3.org/1999/xhtml Note: The Validator XML support has some limitations. This page is not Valid XHTML 1.0 Strict! Below are the results of checking this document for XML well-formedness and validity. 1. Error Line 58 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=8> ✉ 2. Error Line 60 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td rowspan=15> ✉ 3. Error Line 66 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=2 rowspan=2 style="background: transparent url(images/www/ent3r/1_03 ✉ 4. Error Line 66 column 22: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=2 rowspan=2 style="background: transparent url(images/www/ent3r/1_03 ✉ 5. Error Line 68 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=2 rowspan=2> ✉ 6. Error Line 68 column 22: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=2 rowspan=2> ✉ 7. Error Line 70 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td rowspan=13> ✉ 8. Error Line 74 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=2> ✉ 9. Error Line 80 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=3 rowspan=3> </td> ✉ 10. Error Line 80 column 22: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=3 rowspan=3> </td> ✉ 11. Error Line 85 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=4> </td> ✉ 12. Error Line 90 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=4 rowspan=3> ✉ 13. Error Line 90 column 22: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=4 rowspan=3> ✉ 14. Error Line 96 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=3> ✉ 15. Error Line 102 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=2 rowspan=2 style="background: transparent url(images/www/ent3r/1_12 ✉ 16. Error Line 102 column 22: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=2 rowspan=2 style="background: transparent url(images/www/ent3r/1_12 ✉ 17. Error Line 104 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td rowspan=2> ✉ 18. Error Line 110 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td rowspan=2 style="background: transparent url(images/www/ent3r/1_14.gif)"> ✉ 19. Error Line 112 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=3 rowspan=2> ✉ 20. Error Line 112 column 22: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=3 rowspan=2> ✉ 21. Error Line 118 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=3 rowspan=2> </td> ✉ 22. Error Line 118 column 22: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=3 rowspan=2> </td> ✉ 23. Error Line 123 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=4> </td> ✉ 24. Error Line 128 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=4> ✉ 25. Error Line 130 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=3 rowspan=2> ✉ 26. Error Line 130 column 22: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=3 rowspan=2> ✉ 27. Error Line 136 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=3 rowspan=2 style="background: transparent url(images/www/ent3r/1_20 ✉ 28. Error Line 136 column 22: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=3 rowspan=2 style="background: transparent url(images/www/ent3r/1_20 ✉ 29. Error Line 138 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td rowspan=2> ✉ 30. Error Line 144 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=3 rowspan=2> ✉ 31. Error Line 144 column 22: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=3 rowspan=2> ✉ 32. Error Line 150 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=4> </td> ✉ 33. Error Line 155 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=8> ✉ 34. Error Line 161 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified. <td colspan=9> I prócz tego w powyższym kodzie strony jest moment: i mój drugi własnie problem to danie tablei na środek ... Bo gdy robie <p align="center"> ta tablea <p> <- to niestety nie jest zgodne ze standardami, natomaist jak robie <p style="text-align: center"> ta tablea <p> <- to w IE jest na środku tabela (ale niestety wraz z tekstem w niej) natomiast w firefoxie niestety jest w dalszym ciagu z lewej strony. Pomoże mi ktoś z tym sie uporać ![]() <span style='color:red'>-- FiDO: nastepnym razem prosze uzywac poprawnego BBCode[/color] |
|
|
![]()
Post
#2
|
|
![]() Grupa: Przyjaciele php.pl Postów: 2 258 Pomógł: 16 Dołączył: 21.09.2004 Skąd: Kielce Ostrzeżenie: (0%) ![]() ![]() |
Sory, ale kod jest masakryczny. Tabel używa się do robienia tabel a nie layoutu strony.
Chcesz żeby strona była zgodna z pewnymi standardami to zrezygnuj z tabel. Teraz to tak wygląda jakby do malucha wsadzić super grajek i chwalić się że mam super furę ![]() Co do błędów: wszystkie atrybuty muszą być w cudzysłowach. -------------------- -------------
------ |
|
|
![]()
Post
#3
|
|
![]() Grupa: Zarejestrowani Postów: 262 Pomógł: 5 Dołączył: 8.02.2005 Skąd: Olsztyn / Zatorze Ostrzeżenie: (0%) ![]() ![]() |
ok dzięki za odpowiedź, pomogło i jeszcze dwa pytania:
1. Czemu nie można robić tabelami layoutu ![]() ![]() 2. Co zrobić by wyśrodkować tą tabelkę ![]() ![]() Pozdro |
|
|
![]()
Post
#4
|
|
![]() Grupa: Przyjaciele php.pl Postów: 1 717 Pomógł: 0 Dołączył: 12.06.2002 Skąd: Wolsztyn..... Studia: Zielona Góra Ostrzeżenie: (0%) ![]() ![]() |
Polecam lekture tego: http://www.osiolki.net/tabelki/index.html
-------------------- Brak czasu :/
|
|
|
![]()
Post
#5
|
|
![]() Grupa: Zarejestrowani Postów: 262 Pomógł: 5 Dołączył: 8.02.2005 Skąd: Olsztyn / Zatorze Ostrzeżenie: (0%) ![]() ![]() |
Dzięki FIDO to se zaraz przeczytam, jednak potrzebuje jednej rzeczy, tego wyśrodkowania tabeli w stylach kaskadowych... jak to zrobić
![]() |
|
|
![]()
Post
#6
|
|
![]() Grupa: Zarejestrowani Postów: 109 Pomógł: 0 Dołączył: 10.06.2003 Skąd: Tarnobrzeg/Poznań Ostrzeżenie: (0%) ![]() ![]() |
srodkowanie tabeli
temat poruszany na forum juz milion razy
a co do layoutow tabelkowych to jak chcesz to nikt ci nie kaze robic w DIVach tylko dawaj odpowiedni naglowek a nie xhtml 1.0 strict bo tu na tabelkach nie moze byc -------------------- |
|
|
![]()
Post
#7
|
|
![]() Grupa: Zarejestrowani Postów: 262 Pomógł: 5 Dołączył: 8.02.2005 Skąd: Olsztyn / Zatorze Ostrzeżenie: (0%) ![]() ![]() |
ok dzięki
![]() |
|
|
![]() ![]() |
![]() |
Aktualny czas: 19.08.2025 - 19:49 |