Re: VE][65] Grouping an image and <p> tag together within a link

On 21-Feb-09, at 3:49 AM, Simon Wong wrote:

> I got the message "document type does not allow element "p" here;"

Indeed, you can't have a <p> within a <a>.

> I have a 3 x 2 row of catgories (see below) and I understand that I  
> cannot have a <p> tag placed here but what else can I do to change  
> this?

I guess you could try with a <span> ? (which you can style as display:  
block; if needed).

HTH,
-- 
olivier

Received on Monday, 23 February 2009 13:56:25 UTC