I tried to it in many ways, but this the closest to what I’m trying to do. I’ve added "vertical-align" to both elements but still it has some pixels more at the top I guess…
What am I doing wrong? Is there some way to do it? I’ve tried with margins and paddings, but it doesn’t work.
<span style="font-size: 35px; color: #cb141b; line-height: 1px; vertical-align: middle; margin-bottom: 7px;">•</span><span style="vertical-align: middle; ">We... KMC ...</span>
2
Answers
ChatGPT helped me. Maybe there is some easier way, but this how I've achieved this.
As you’ve correctly identified, you need:
It’s sufficient to apply that to the bullet.
N.B. As a phrasing element with a default
display
ofinline
, the element<span>
usually appears within a block-level text element with a default display ofblock
such as<h2>
or<p>
.Working Example: