Re: [VE][64] IMG element

On Fri, Jan 20, 2006 at 04:30:40PM +1000, Ryan McCue wrote:
> When I validate several of my pages I receive the following:
> Error /Line 49 column 40/: document type does not allow element "img"
> here

> How is it possible to amend this.

Find out where an image /is/ allowed and put it there instead. (I'm
guessing that you have made the <img> element a child of the <body>
element. The body element can only have children in the group %block,
but many elements in that group have have img elements as children (so
you probably just need to wrap the image in something suitable, like a
div).


(I read the mailing list. Please send responses there and do not CC
me. Thanks).

-- 
David Dorward                                      http://dorward.me.uk

Received on Friday, 20 January 2006 09:42:59 UTC