Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [inne]Niezrozumiały błąd wykryty przez walidator xhtml
Ulysess
post
Post #1





Grupa: Zarejestrowani
Postów: 695
Pomógł: 65
Dołączył: 27.07.2009
Skąd: Y

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


witam tak jak w temacie , próbuje poprawić swoją stronę tak aby była akceptowana przez walidator czyli nie wywalał błędów jednak pokazuje mi błąd który jak dla mnie jest nie zrozumiały...

linia której się tyczy wygląda tak:

wywala coś takiego:

<div style="float: right; padding-top: 25px;"><a href="rejestracja.html"><img src="graphics/img_07.png" alt="Rejestracja" /></a></div>

Error Line 153, Column 46: document type does not allow element "div" here; missing one of "button", "map", "object", "ins", "del", "noscript" start-tag

…yle="float: right; padding-top: 25px;"><a href="rejestracja.html"><img src="gr…



The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Rid
post
Post #2





Grupa: Zarejestrowani
Postów: 715
Pomógł: 47
Dołączył: 5.12.2010

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


Cytat
IE6 rozpoznaje to bez problemu. A co do kombajnu to może być tak iż masz spacje, bo a) pisali to źli ludzie z uwielbieniem do staroci (patrz też opcje)


Człowieku,właśnie żeś skompromitował najlepszą platformę programistyczną jaką jest Visual Studio 2010 .NET,którą tworzyli większe "Łby" od zgromadzonych tutaj wszystkich forumowiczów-po prostu pogratulować tej wypowiedzi.Platforma ta trzyma się ściśle standardów W3C programowania i jeśli mówi mi ,że powinno być <br /> to ja jej wierze.

Ten post edytował Rid 14.09.2011, 11:13:27
Go to the top of the page
+Quote Post

Posty w temacie


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: 9.10.2025 - 15:36