I am relatively new to this and I am puzzled as to why the text inside my h1 tag seems to shift to the right when I zoom in.
Below is the CSS code:
h1 {
font-family: 'Raleway', sans-serif;
border-bottom: 1px solid black;
border-top: 1px solid black;
margin-right: 500px;
margin-left: 500px;
text-align: center;
}
In addition, I did not use <div>
because at the time I was not familiar with its purpose. Although I have tried to make adjustments, everything seems to be tied to my current method of coding.
Thank you.