Lonig Posted July 8, 2008 Share Posted July 8, 2008 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 More sharing options...
Lonig Posted July 8, 2008 Author Share Posted July 8, 2008 http://www.w3schools.com/xhtml/xhtml_html.aspMy apologies, as that page answers the question.For any interested... the fix is:<ol><li>step1</li><li>step2</li><li>step3 <ul> <li>step a</li> <li>step b</li> <li>step c</li> </ul></li><li><b>step4</b></li></ol> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.