[Coyot3] Posted August 21, 2006 Share Posted August 21, 2006 Hi,<ul> inside <ul> (unordered lists inside other unordered list) is not standard and we can't validate a xhtml with them.According to w3c Recommendation inside <ul> are only expected <li> elements. But if one of our element is other list?How can we solve this problem to be able to validate as XHTML 1.0 Transitional?Best RegardsPaulo A. Silva Link to comment Share on other sites More sharing options...
aspnetguy Posted August 21, 2006 Share Posted August 21, 2006 doesn't this work? <ul> <li> Item 1 <ul> <li>Item 1.1</li> <li>Item 1.2</li> <li>Item 1.3</li> </ul> </li></ul> Link to comment Share on other sites More sharing options...
Cronthenoob Posted August 21, 2006 Share Posted August 21, 2006 I was experiencing the same problem.You've got to put your second set of <ul> tags inside a <li> otherwise it won't validate. Link to comment Share on other sites More sharing options...
[Coyot3] Posted August 21, 2006 Author Share Posted August 21, 2006 to validate is a good way.Paulo A. Silva Link to comment Share on other sites More sharing options...
aspnetguy Posted August 21, 2006 Share Posted August 21, 2006 does my example validate? Link to comment Share on other sites More sharing options...
Cronthenoob Posted August 21, 2006 Share Posted August 21, 2006 does my example validate?Yep Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now