How to make span and p elements in 1 line

Well, im novice and have probably the most common que, “how to center that”. i want to make 2 spans and that p line in 1 line.
image
, im rly sorry, if that question is enough stupid, but i don’t really understand how it works.

Codepen


span {
    display: inline-block;
    margin-right: 10px; /* Adjust the margin as needed */
}

@Player

well, it did nothing, sorry

Hello!

Could you specify which parts of the UI/text/numbers you want to display in a row? I see more than two spans and one paragraph in the code block.

Like that?
row

Hello! Smth like that
image

Easy:

  • wrap the spans in a div, this will put them in one line
  • give the div a class and add top and bottom margin
1 Like

Thank you very much!