> -----Original Message----- > From: David Graham [mailto:[EMAIL PROTECTED] > Sent: September 5, 2003 4:29 PM > To: Struts Developers List > Subject: Re: Conversion of web site docs to XHTML > > Are you sure about this? Are you saying that > <p><ul><li>blah</li></ul></p> > is invalid? > > David
I'm afraid so. <p> can only contain inline elements, even in the transitional dtd. Lists are block level. If you need to contain a list, you'll have to use a div. See: http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-transitional.dtd_p ... <!ELEMENT p %Inline;> <!ATTLIST p %attrs; %TextAlign; > ... Steve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]