Re: XHTML DTD Question: span and p

Greg Faron, on 2002-04-15, wrote:

>    I'm trying to write valid xhtml documents in which I have span elements
> whose data I rewrite and whose visibility I modify.  In the course of
> authoring and validating it became painfully obvious that, according to the
> XHTML Transitional DTD, a <span> element may not contain a <p> element (or
> a <div> for that matter).

Will not using a <div> instead of <span> to contain what you want satisfy
your needs?

BTW, when posting, please use trimmed code examples.  Your 'snippet'
contained much extraneous, obsfucating data.

-- 
Frank Tobin		http://www.neverending.org/~ftobin/

Received on Thursday, 18 April 2002 14:09:09 UTC