bubbles19518
07-20-2007, 07:31 PM
So Im almost done creating a new site for a client. As usual I always validate the layout when I'm done designing it. I've fixed all the errors except for one.
When I try to validate this page
http://richardsonrealtyonline.com/test.htm
I get this error:
Line 52 column 22: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag.
<div id="myGallery">
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>").
Any help is greatly appreciated.
When I try to validate this page
http://richardsonrealtyonline.com/test.htm
I get this error:
Line 52 column 22: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag.
<div id="myGallery">
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>").
Any help is greatly appreciated.