Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Problem z validacją w3c, Problem z validacją w3c
mskibinski
post
Post #1





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 1.01.2011

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


Witam, mam problem. Poniżej są przedstawione błędy walidacji. Powiedzcie mi jak je usunąć?

  1. Line 440, Column 8: end tag for "style" omitted, but OMITTAG NO was specified
  2. </html>
  3.  
  4.  
  5. You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
  6. Line 48, Column 1: start tag was here
  7. <style type="text/css">
  8. Line 440, Column 8: end tag for "head" omitted, but OMITTAG NO was specified
  9. </html>
  10.  
  11.  
  12. You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
  13. Line 3, Column 1: start tag was here
  14. <head>
  15. Line 440, Column 8: "html" not finished but document ended
  16. </html>
  17.  
  18. Line 440, Column 8: end tag for "html" omitted, but OMITTAG NO was specified
  19. </html>
  20.  
  21.  
  22. You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
  23. Line 2, Column 1: start tag was here
  24. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl-pl" lang="pl-pl" >
  25. Line 440, Column 8: missing marked section end
  26. </html>
  27.  
  28. Line 49, Column 4: marked section started here
  29. /* <![CDATA[ */
Go to the top of the page
+Quote Post
wookieb
post
Post #2





Grupa: Moderatorzy
Postów: 8 989
Pomógł: 1550
Dołączył: 8.08.2008
Skąd: Słupsk/Gdańsk




A kod strony to mamy sobie zgadnąć?


--------------------
Go to the top of the page
+Quote Post
wookieb
post
Post #3





Grupa: Moderatorzy
Postów: 8 989
Pomógł: 1550
Dołączył: 8.08.2008
Skąd: Słupsk/Gdańsk




Zacznijmy od poprawy cdata (w style). Najpierw ją wywal (razem z tymi komentarzami) i dopiero wtedy ujawnią Ci się kolejne błędy w stylu
Kod
there is no attribute "mce_src"


--------------------
Go to the top of the page
+Quote Post
elektrrrus
post
Post #4





Grupa: Zarejestrowani
Postów: 175
Pomógł: 18
Dołączył: 11.06.2007
Skąd: Koszalin/Poznań

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


Błędy pochodzą z tinymce, edytora wysiwyg jakiego używasz w tej joomli. Poprawniejszy kod generuje ckedtitor, możesz go doinstalować, a najlepiej w ogóle wywalić takie generatory śmieci jak edytory wysiwyg o ile możesz sobie na to pozwolić.
Go to the top of the page
+Quote Post
mskibinski
post
Post #5





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 1.01.2011

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


Temat zamknięty. Wina tkwi w edytorze WYSWIG
Go to the top of the page
+Quote Post
wookieb
post
Post #6





Grupa: Moderatorzy
Postów: 8 989
Pomógł: 1550
Dołączył: 8.08.2008
Skąd: Słupsk/Gdańsk




Zawsze możesz użyć http://htmlpurifier.org/


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

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 Aktualny czas: 22.08.2025 - 11:35