Making unordered lists work like ordered lists. Why?
-
- Propeller Head
- Posts: 32
- Joined: Thu May 17, 2018 1:55 am
- Location: Germany
Making unordered lists work like ordered lists. Why?
I just realized a strange thing in the Project I've "inherited" some weeks ago. For some reason, my predecessor made the <ul> Element work as an <ol> Element. She defined a list item class <li class="number"> and gave it a list-style: decimal property in the style sheet. Question is: why? Is there any reasonable explanation why you would prefer to do this instead of just using <ol>?
Re: Making unordered lists work like ordered lists. Why?
Maybe the source came from a legacy system that didn't use standard html? I seem to remember that I had problems getting older versions of Word to use nice-ish list code when saving to html. (Having said that, I would have been checking the lists as I edited topics, to convert them properly. )
-
- Propeller Head
- Posts: 32
- Joined: Thu May 17, 2018 1:55 am
- Location: Germany
Re: Making unordered lists work like ordered lists. Why?
Thanks, maybe this really is the simple explanation to this little mystery... I guess I'll just edit them whenever I encounter them and check if hell breaks loose in any of the output targets