I have a basic setup here with a single line of red text on a colored background. Despite setting margin and padding to zero and not having any child elements causing spacing issues, I still see a gap around my container.
Here's my CSS:
{
width: auto;
height: 100%;
margin:0px;
padding:0px;
background-color: rgb(207, 30, 30);
}
And here's my HTML:
<div class="main-container">
TEST
</div>
But the result I'm seeing looks like this: https://i.sstatic.net/QB6OP.png
If anyone could shed some light on what might be causing this simple issue, I would greatly appreciate it.