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.
, im rly sorry, if that question is enough stupid, but i don’t really understand how it works.


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


well, it did nothing, sorry


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?

Hello! Smth like that


  • 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!