Autor | Zpráva | ||
---|---|---|---|
Artie Profil * |
#1 · Zasláno: 26. 2. 2007, 19:15:02
Zdravím,
při validaci mi w3c validator vyhazuje chyby na inputu, které v kódu nemám. Přidá si ho ihned za element form. Ví někdo proč? chyba: Error Line 45, column 119: document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag . ...e="be0a96ce143c4791b9919d5aaac2fff2" /> 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>"). kód po validaci: <form action="index.php" method="post"><input type="hidden" name="PHPSESSID" value="be0a96ce143c4791b9919d5aaac2fff2" /> <div> TEN INPUT hidden V MéM KÓDU NENí |
||
nightfish Profil |
#2 · Zasláno: 26. 2. 2007, 19:32:13
Artie
přidává ho tam automaticky PHP - lze to vypnout buď pomocí session.use_only_cookies = 1 nebo modifikací url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset=" (obojí v php.ini) |
||
Artie Profil * |
#3 · Zasláno: 26. 2. 2007, 23:01:54
Díky moc, to by mě fakt nenapadlo ...
|
||
Časová prodleva: 5 dní
|
|||
peta Profil |
#4 · Zasláno: 3. 3. 2007, 18:07:07
Artie
Mne by spis zajimalo, proc by to mel validator hlasit jako chybu? <input type="hidden" name="PHPSESSID" value="be0a96ce143c4791b9919d5aaac2fff2" /> podle mne je ten input napsany naprosto spravne a naopak, bych byl rad, ze mi ho tam PHP pridalo. Nektery prohlizec nemusi kopirovat session neni session nejsi treba nalogovany. Podle mne tam mas chybu jeste nekde jinde. Zkus poslat odkaz. |
||
Časová prodleva: 17 let
|
Toto téma je uzamčeno. Odpověď nelze zaslat.
0