MozillaPL.org - polskie centrum Mozilli

Główne menu:

Poblem! proszę o pomoc

Dyskusje na temat standardów WWW i zgłoszenia stron niedziałających poprawnie w przeglądarkach z rodziny Mozilli (w tym Mozilla Firefox)

Moderator: Pomocy?!

Poblem! proszę o pomoc

Postautor: kuba171 » 28 kwietnia 2007, 11:33

Przeglądarka: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Witam
]Nie moge dojść co jest źle w tym tekście w validatorze wyświtla mi taki komunikat:
Kod: Zaznacz cały
Error  Line 29 column 45: document type does not allow element "a" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "pre", "address", "fieldset" start-tag.

 <a href="index2.html"><img src="grafika/budowa.jpg" style="bo

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>").



Bardzo proszę o pomoc.[/code]
kuba171
 

Postautor: diablownik » 28 kwietnia 2007, 14:01

Przeglądarka: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl-PL; rv:1.9a4) Gecko/20070427 GranParadiso/3.0a4

Wstawiłeś odnośnik w miejscu, gdzie jest on niedozwolony. Walidator informuje, że brakuje przed nim innego ważnego znacznika, np. "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "pre", "address", "fieldset".
Niestety, tylko tyle można powiedzieć na podstawie samego komunikatu.
diablownik
 
Posty: 375
Z nami od: 02 sierpnia 2006, 14:10


Wróć do Standardy WWW i źle działające strony

Kto jest online

Zarejestrowani użytkownicy: Baidu [Spider], Google [Bot]

Przejdź do powiązanej strony

Nawigacja:

Stopka: