Hallo,
nachdem ich mich bei meinem aktuellen Projekt bemühe, zur Abwechslung mal komplett valide zu schreiben (HTML 4.01 Transitional), hab ich folgendes Problem: Und zwar will ich ein <div>-Tag haben, welches anklickbar sein soll und deswegen innerhalb eines <a>-Tags steckt... Und was sagt mir der Validator?
------------------------
Line 23, column 220: document type does not allow element "DIV" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag
...ound-image: url(pictures/pixel.gif);"><span class="map_info"> </span></d
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>").
------------------------
Im Großen und Ganzen: Kein Blockelement <div> innerhalb eines inline-Elements <a>. Wie soll ich dann aber sonst das DIV verlinken? Mit JavaScript? Doch nicht wirklich, oder???
E7