Out of curiosity, why is that an image at all? it’s just text…?
— using your existing HTML markup
— using an alternative (cleaner) markup
Basically, these both do the same thing: center horizontally using
text-align; center vertically by using
margin; then take the
<h1> out of the flow by giving it an
absolute position. This works very well “as-is,” but won’t work the same way if you add more elements to the