Re: [VE][64] IMG element

I always thought that img could be a child of body. Have wrapped whole
page in div containers.
Thanks for your help.

David Dorward wrote:
> 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).
>
>   

Received on Saturday, 21 January 2006 07:50:47 UTC