Here's an interesting problem I encountered:
<ol><li>
<span>01</span><h4>SOME TEXT</h4>
</li></ol>
#faq ol li h4
{
padding-bottom: 16px;
padding-top: 14px;
padding-left: 16px;
max-width: 710px;
width: 100%;
color: #fff;
font-family: DINCE-Medium , Arial, sans-serif;
font-size: 16px;
I am facing a challenge with aligning the number on the same line next to the heading, with the same height as the heading background.
I've been struggling to set the number in the span to the same height (font size) as the h4 background without any bottom spacing issues.
Despite trying to reset padding and margin for the span, I haven't been able to achieve the desired result.
If you have any helpful advice, I would greatly appreciate it :))