![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 368 Pomógł: 2 Dołączył: 23.09.2007 Ostrzeżenie: (60%) ![]() ![]() |
Walidator w3 wywala błąd gdy w tym skrypcie przycisk jest jeszcze w znacznikach <form>, lecz gdy jest po </form> to już wszystko wporządku:
Oto błąd: Line 38, Column 117: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag. …px; height: 25px; margin-top: 5px;" /> ✉ 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>"). Ten post edytował poxrimex 12.03.2008, 15:07:15 -------------------- |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 136 Pomógł: 0 Dołączył: 8.02.2008 Ostrzeżenie: (0%) ![]() ![]() |
Powodem jest <p>" or "<table> w <a>", "<span>", lub "<font>"
PS. Daj linie bledu... Ten post edytował conix 12.03.2008, 15:16:17 -------------------- Jeśli pomogłem kliknij na Pomógł
Jeśli nie pomogłem kliknij na Pomógł |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 368 Pomógł: 2 Dołączył: 23.09.2007 Ostrzeżenie: (60%) ![]() ![]() |
dla tej wersji kodowej:
i tego kodu: validator wywala Line 15, Column 65: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag. …image" src="guj.gif" alt="zarejestruj" /> ✉ 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>"). -------------------- |
|
|
![]()
Post
#4
|
|
![]() Grupa: Zarejestrowani Postów: 249 Pomógł: 30 Dołączył: 18.07.2007 Ostrzeżenie: (0%) ![]() ![]() |
W XHTML 1.0 Strict element formularza jakim jest input MUSI być zamknięty w innym znaczniku. Jakim? Walidator już Ci odpowiedział.
-------------------- Warsztat: Ubuntu 12.10, PHPStorm
http://vertoo.pl |
|
|
![]()
Post
#5
|
|
Grupa: Zarejestrowani Postów: 368 Pomógł: 2 Dołączył: 23.09.2007 Ostrzeżenie: (60%) ![]() ![]() |
no fakt działa już ;]
-------------------- |
|
|
![]() ![]() |
![]() |
Aktualny czas: 19.08.2025 - 13:13 |