Mam drobniusi problem, a mianowicie nie moge wystrictować tego dokumentu:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" type="text/css" href="style-2.css" /> <?xml-stylesheet type="text/css" href="style-2.css" ?> <meta http-equiv="Content-Language" content="pl" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" /> </head> <body > <table style="border: 0pt none; width: 100%;"> <tbody> <tr> <td style="background: transparent url(images/www/s7art/1.jpg) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; height: 150px;"> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> </tbody> </table> <!-- Dać na środek tą tabele !--> <table style="width: 508px;"> <tr> <td> <td> <td> <td> <td> <td> <td> <td> <td> </tr> <tr> <td colspan=8> <td rowspan=15> <td> </tr> <tr> <td colspan=2 rowspan=2 style="background: transparent url(images/www/ent3r/1_03.gif)"> </td> <td colspan=2 rowspan=2> <td rowspan=13> <td style="background: transparent url(images/www/ent3r/1_06.gif)"> </td> <td colspan=2> <td> </tr> <tr> <td> </tr> <tr> <td> </tr> <tr> <td colspan=4 rowspan=3> <td> </tr> <tr> <td colspan=3> <td> </tr> <tr> <td colspan=2 rowspan=2 style="background: transparent url(images/www/ent3r/1_12.gif)"> </td> <td rowspan=2> <td> </tr> <tr> <td rowspan=2 style="background: transparent url(images/www/ent3r/1_14.gif)"> </td> <td colspan=3 rowspan=2> <td> </tr> <tr> <td> </tr> <tr> <td> </tr> <tr> <td colspan=4> <td colspan=3 rowspan=2> <td> </tr> <tr> <td colspan=3 rowspan=2 style="background: transparent url(images/www/ent3r/1_20.gif)"> </td> <td rowspan=2> <td> </tr> <tr> <td colspan=3 rowspan=2> <td> </tr> <tr> <td> </tr> <tr> <td colspan=8> <td> </tr> <tr> <td colspan=9> <td> <img src="images/www/ent3r/spacer.gif"style="width: 1px; height: 14px" alt="" /><[color=blue]/td> </tr> </table> <!-- koniec !--> <table style="border: 0pt none; width: 100%;"> <tr> <td> 2004-2005 <span style="font-size: 9pt; color: rgb(167, 34, 34);">SL1.GHTLY <p style="text-align: center;"> <a href="http://validator.w3.org/check?uri=referer"> <a href="http://jigsaw.w3.org/css-validator/"> </p> </td> </tr> </table> </body> </html>
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>
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]