I have a paragraph <p class="timeNum">00:00</p>
(only one element with text in it) and I want to move only the text in the middle/top/bottom of the text area (i don't mean vertically in the paragraph, but in it's own text area(the blue area when we mark the text with the mouse)). When I change the line-height to be equal to the font-size, it doesn't help. Vertical-align doesn't help also. The text area becomes smaller, but the text stays at the bottom/baseline. Can anyone suggest a solution. Thanks!
html -> <p class="timeNum">Text</p>
css ->
.timeNum {
font-size: 24px;
line-height: 24px;
text-align: right;
}