Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> problem z validacją
dasko
post 6.12.2004, 21:15:33
Post #1





Grupa: Zarejestrowani
Postów: 179
Pomógł: 0
Dołączył: 9.11.2004

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


chciałem sobie zvalidować pewną stronkę...

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/frameset.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <link rel="stylesheet" href="new.css" type="text/css" />
  5. <meta http-equiv="content-type" content="text/html; charset=iso-8859-2" />
  6. <meta name="author" content="Dasko" />
  7. <meta name="desciption" content="dasko, Dasko, homepage, Stalowa Wola, Homepage" />
  8. <meta name="keywords" content="dasko, Dasko, homepage, Stalowa Wola, Homepage" />
  9. <title>Nowa strona 1</title>
  10. </head>
  11.  
  12. .............coś tam dalej..............


a tu nagle...

Cytat
Line 12, column 5: document type does not allow element "body" here

<body>

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).


to jedyny błąd w całej stronie! a ja go nie umiem naprawić, zupełnie nie mam pomysłu co mu nie pasuje....

pomóżcie, bo przydałby się taki znaczek, że "Valid XHTML" biggrin.gif
Go to the top of the page
+Quote Post
eth
post 6.12.2004, 21:47:55
Post #2





Grupa: Zarejestrowani
Postów: 11
Pomógł: 0
Dołączył: 21.03.2004

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


wywal to:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/frameset.dtd">

wstaw to:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

ta strona nie wyglada na strone z ramkami smile.gif
Go to the top of the page
+Quote Post
dasko
post 6.12.2004, 22:31:56
Post #3





Grupa: Zarejestrowani
Postów: 179
Pomógł: 0
Dołączył: 9.11.2004

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


Ramki w niej są, ale tylko pływające biggrin.gif

Ta zmiana wyeliminowała problem biggrin.gif Dzięki za pomoc!
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 Wersja Lo-Fi Aktualny czas: 12.06.2025 - 19:35