I always thought this was a simple thing to do, but, in XHTML, I'm getting some strange results. Basically, I have an unordered list and, as one of my list elements, I want to have another unordered list, something like this:
Unfortunately, that just doesn't display very well. I get the "dot" for the sublist and I end up with an additional break in the middle of my list. Any quick ideas?
Originally posted by Eric Pascarello: get rid of the li element around the ul. It is not needed
Well, that's what I had started with. Unfortunately, in XHTML, it appears that it is needed. If I run the XHTML through the W3C Validator, it won't pass validation unless the li element encloses the ul element. Perhaps I'll just try to work it out with CSS.