I am facing some issues:
Currently, I am implementing something similar to the following code:
<ol>
<li>Title</li>
<ol>
<li>Content</li>
<li>Content</li>
</ol>
<li>Title</li>
<ol>
<li>Content</li>
<li>Content</li>
</ol>
</ol>
At present, I am using a padding of 70px and a margin of -30px on all titles. This setup works well as long as the content does not exceed one row or three rows. However, when there are only two rows, the number from my ordered list container is incorrectly positioned.
I understand if these details are insufficient to diagnose the issue, but any solutions or explanations you may have would be greatly appreciated.
Thank you
Edit:
I apologize for the confusion earlier, as I identified my mistake shortly after seeking help. The error was not in the HTML code, which was generated by a program I am utilizing. I required the negative margin to create an anchor on my website so that clicking on a specific link would take you to that location with a margin at the top. Ultimately, I resolved this by creating an invisible div container that I moved to that position.
Sorry for any inconvenience caused