The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Get rid of ol? Re: Get rid of ol?


What is it you’re trying to accomplish with using an ordered list?

What I can see directly is that you’ve mixed up a few tags (the end tag of the spans always needs to come before the end of the paragraph), and that you’ve also mixed up the elements a fair bit. If you’re using a list, it cannot contain other elements as direct children than li-elements. However, a li-element can contain others such as paragraphs, divs and headers.