Jump to content

XHTML 1.0 Strict use of UL/OL


Lonig

Recommended Posts

Having a bit of an issue that I've never really noticed before. The current project I am on is requiring we have all files pass the XHTML 1.0 Strict validation. However, it seems that the use of a UL inside an OL is not acceptable any longer. It still displays fine of course, but won't pass validation. :) So... besides making a CSS class to "indent" specific LI's, what is the current common practice to have lists?? I must be missing a command, as I havn't used lists since HTML3.Here is a snippet.

<ol><li>step1</li><li>step2</li><li>step3</li>				<ul>				<li>step a</li>				<li>step b</li>				<li>step c</li>				</ul><li><b>step4</b></li></ol>

Any assistance would be appreciated. I'm sure its simple, but putting any ul/ol/list in the search just brought up nearly every page ever posted I think.Thanks in advance,Lonig :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...