M
Marco Lehmann
hi guys,
i have a div, in which a table and a text is located.
with css i defined a background-image laying under the div.
now i want to link the whole div with an a-tag.
w3c's validator says, that a construct like:
<a href="...">
<div id="...">
<table ...>
...
</table>
</div>
</a>
isn't valid because the div-tag seams to be misplaced
inside the a-tag.
i got this validation message:
document type does not allow element "DIV" here; missing one of
"APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag
what's the solution?
thanks in advance.
marco
i have a div, in which a table and a text is located.
with css i defined a background-image laying under the div.
now i want to link the whole div with an a-tag.
w3c's validator says, that a construct like:
<a href="...">
<div id="...">
<table ...>
...
</table>
</div>
</a>
isn't valid because the div-tag seams to be misplaced
inside the a-tag.
i got this validation message:
document type does not allow element "DIV" here; missing one of
"APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag
what's the solution?
thanks in advance.
marco