Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [XHTML] Walidacja
right6
post
Post #1





Grupa: Zablokowani
Postów: 206
Pomógł: 0
Dołączył: 9.03.2006

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


  1. <table class="tabela_gl" style="width:95%;text-align:center;margin-left:auto;margin-right:auto" cellpadding="2" cellspacing="1">
  2. <tr><td>
  3.    <tr>
  4.      <td class="kol1">
  5.        <table class="tabela_gl" style="width:100%" cellpadding="2" cellspacing="1">
  6.          <tr>
  7.            <td class="kol3" style="text-align:left">
  8.  
  9.              <span class="zw3"><span class="zw3"><b>[</b>~Heja<b>]</b></span> 11&nbsp;Maj&nbsp;2006r. 00:54</span>
  10.            </td>
  11.          </tr>
  12.          <tr>
  13.            <td class="kol1" style="text-align:left">
  14.  
  15.              <span class="zw3">Witam</span>
  16.            </td>
  17.          </tr>
  18.        </table>
  19.      </td>
  20.    </tr>
  21.    </td></tr></table>


i walidator nie wiem czemu mi zglasza

Kod
   1.  Error  Line 755 column 7: document type does not allow element "tr" here; assuming missing "table" start-tag.

          <tr>

      ✉
   2. Error Line 771 column 8: end tag for "table" omitted, but OMITTAG NO was specified.

          </td></tr></table></div></div>

      You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

      ✉
   3. Info Line 755 column 4: start tag was here.

          <tr>


linia 755 tj 3 od gory w tym pierwszym kodzie ktory wklilem

dzieki (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
devnul
post
Post #2





Grupa: Zarejestrowani
Postów: 1 470
Pomógł: 75
Dołączył: 21.09.2005
Skąd: że znowu

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


bo tr nie powinno być po td - proste

masz kod poprawiony
  1. <table class="tabela_gl" style="width:95%;text-align:center;margin-left:auto;margin-right:auto" cellpadding="2" cellspacing="1">
  2. <tr>
  3.     <td class="kol1">
  4.       <table class="tabela_gl" style="width:100%" cellpadding="2" cellspacing="1">
  5.         <tr>
  6.           <td class="kol3" style="text-align:left">
  7.  
  8.             <span class="zw3"><span class="zw3"><b>[</b>~Heja<b>]</b></span> 11&nbsp;Maj&nbsp;2006r. 00:54</span>
  9.           </td>
  10.         </tr>
  11.         <tr>
  12.           <td class="kol1" style="text-align:left">
  13.  
  14.             <span class="zw3">Witam</span>
  15.           </td>
  16.         </tr>
  17.       </table>
  18.   </td></tr></table>
Go to the top of the page
+Quote Post
right6
post
Post #3





Grupa: Zablokowani
Postów: 206
Pomógł: 0
Dołączył: 9.03.2006

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


faktycze glupi blad (IMG:http://forum.php.pl/style_emoticons/default/mad.gif)

a teraz daje mi takie info

Kod
Character Encoding mismatch!

    The character encoding specified in the HTTP header (iso-8859-2) is different from the value in the <meta> element (iso). I will use the value from the HTTP header (iso-8859-2) for this validation.


co on chce znowu ?
Go to the top of the page
+Quote Post
sf
post
Post #4





Grupa: Zarejestrowani
Postów: 1 597
Pomógł: 30
Dołączył: 19.02.2003
Skąd: Tychy

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


Jakie masz kodowanie ustawione w meta ?
Go to the top of the page
+Quote Post
right6
post
Post #5





Grupa: Zablokowani
Postów: 206
Pomógł: 0
Dołączył: 9.03.2006

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


iso 8859-2 - calosc jest tez w iso zapisana
Go to the top of the page
+Quote Post
sf
post
Post #6





Grupa: Zarejestrowani
Postów: 1 597
Pomógł: 30
Dołączył: 19.02.2003
Skąd: Tychy

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


No to masz zle. Poszukaj jak powinno byc to napisane. Zreszta napisali Ci to czarno na bialym.
Go to the top of the page
+Quote Post
devnul
post
Post #7





Grupa: Zarejestrowani
Postów: 1 470
Pomógł: 75
Dołączył: 21.09.2005
Skąd: że znowu

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


Cytat
calosc jest tez w iso zapisana
tylko w jakim iso - jest wiele standardów iso i być może masz zapisane kodowanie w np iso-8859-1 lub innym, i do tego się walidator może przyczepić
Go to the top of the page
+Quote Post
sf
post
Post #8





Grupa: Zarejestrowani
Postów: 1 597
Pomógł: 30
Dołączył: 19.02.2003
Skąd: Tychy

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


brakuje mu tylko znaku '-' ;-)
Go to the top of the page
+Quote Post
right6
post
Post #9





Grupa: Zablokowani
Postów: 206
Pomógł: 0
Dołączył: 9.03.2006

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


pomoglo - dzieki (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post

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: 23.08.2025 - 07:34