Everything was smooth sailing during the creation of a responsive website until I decided to customize my header
with my preferred font-family
, font-size
, and letter-spacing
. Once I scaled it down to less than 600px
for mobile, things started looking odd.
Why is my header protruding out of the <body></body>
area in an unusual manner even though my
<div class = "header"></div>
is still within the <body></body>
tags? Please see the attached screenshot. Any assistance would be greatly appreciated.
Below is the HTML and CSS code for reference:
https://i.sstatic.net/lMq2j.jpg
*{
box-sizing: border-box;
}
...
... (Remaining CSS Code)
...
</footer>
</div>
</body>
</html>