Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem z validowaniem strony...
_pRonT0
post
Post #1





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 23.09.2004
Skąd: JamaiCa [THC]

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


Problem z validowanie strony , XHTML 1.1
Otoz tak , mam index.html zalacze kawalek kodu w ktorym wystepuje blad:
Kod
Error Line 79 column 110: character "#" is not allowed in the value of attribute "usemap".

...gif" width="155" height="62" usemap="#lang"  alt="" /></td>

It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.


Error Line 83 column 14: document type does not allow element "map" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "pre", "address", "fieldset" start-tag.

<map id="lang">

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


Czesc kodu HTML`a:
  1. <td valign="top">
  2. <img style="border-style: none; name:index_06;" src="images/index_06.gif" width="155" height="62" usemap="#lang" alt="</span>" /><<span style='color:blue'>/td>
  3. </tr>
  4. <map id="lang">
  5. <area shape="rect" alt="Polish version" coords="90,0,154,44" href="/pl/"
  6. onmouseover="changeImages('index_06', 'images/index_06-polish_over.gif'); return true;"
  7. onmouseout="changeImages('index_06', 'images/index_06.gif'); return true;"
  8. onmousedown="changeImages('index_06', 'images/index_06-polish_over.gif'); return true;"
  9. onmouseup="changeImages('index_06', 'images/index_06-polish_over.gif'); return true;" />
  10. <area shape="rect" alt="English version" coords="0,0,68,44" href="/en/"
  11. onmouseover="changeImages('index_06', 'images/index_06-english_over.gif'); return true;"
  12. onmouseout="changeImages('index_06', 'images/index_06.gif'); return true;"
  13. onmousedown="changeImages('index_06', 'images/index_06-english_over.gif'); return true;"
  14. onmouseup="changeImages('index_06', 'images/index_06-english_over.gif'); return true;" />
  15. </map>


Nie moge dojsc czemu jest ten blad , chetnych prosze o pomoc rozwiazania go :]

Ten post edytował _pRonT0 22.10.2005, 14:02:40
Go to the top of the page
+Quote Post

Posty w temacie
- _pRonT0   Problem z validowaniem strony...   22.10.2005, 14:01:50
- - dr_bonzo   usemap="lang"> ?   22.10.2005, 14:13:32
- - _pRonT0   juz probowałem wczesniej bez # ale wtedy nie dzial...   22.10.2005, 14:57:52


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: 24.08.2025 - 11:39