I have a specific request:
I am looking to apply the style "list-style:none" only when there are <ol>
elements without any other tags.
For example, in this scenario I want to use the style:
<div>
<ol><li>1</li></ol>
<ol><li>2</li></ol>
</div>
In all other cases, I do not want to apply the style:
<div>
<p>
<ol><li>1</li></ol>
</div>
What would be the best approach? Thank you