I'm attempting to center text and have it at a specific distance from the top of the webpage, but I'm encountering an issue.
When I set the position to absolute, it seems to override the text-align: centered;
property.
I'm unable to move the text upwards as well.
What could be causing this?
h1 {
position:absolute;
top:10px;
text-align:center;
font-family:impact;
font-size:80px;
}