forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: unordered list
Date Tue, 21 Jun 2005 13:29:25 GMT
Boynak, Dana Rose wrote:
> Hi, I am trying to use an unordered list in <p> tags but it won't allow
> me to.  The following is the error I am receiving.  Is there a way I
> could still do an unordered list in a paragraph?  
> 
> The content of element type "p" must match
> "(strong|em|code|sub|sup|br|img|icon|acronym|a)".

Instead of:

<p>
   blah blah
   <ul>
     <li>list item</li>
     <li>list item</li>
   </ul>
   blah blah
</p>

Just do:

<p>
   blah blah
</p>
<ul>
   <li>list item</li>
   <li>list item</li>
</ul>
<p>
   blah blah
</p>

(note a paragraph is a group of sentences, so list, ordered or otherwise 
has no place inside a paragraph)

Ross

Mime
View raw message