...

View Full Version : Unordered List in a paragraph



cheechm
05-16-2008, 08:05 PM
I gather from my page not validating that you can't do this:


<p><ul><li></li><ul></p>

What could I do instead?

Thanks

croatiankid
05-16-2008, 08:22 PM
Remove the </p>.

radamsiii
05-16-2008, 08:24 PM
<p><ul><li>content</li></ul></p>

try HTML 4.01 Transitional

Apostropartheid
05-16-2008, 08:49 PM
This disallow...ing of lists within paragraphs is generally accepted to be a mistake and will be included in HTML5. Best solution for now will probably be to use negative margins to make it look like it's embedded.

cheechm
05-16-2008, 08:52 PM
Ok thanks.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum