The orange HTML border is extended below the blue body border and it creates two red squares, one around the blue body element and one below it. Why there is the small space created below body?
Hi,
could you add what you’ve written in the HTML file? Probably inside a Blockquote, so it would stay formatted the same as it is in your file (I see your universal selector got turned into an unordered list element)?
It’s hard to guess what the red - bordered elements are and how they interact with the rest of the document without knowing what the rest of the code looks like.
The orange HTML border is extended below the blue body border and it creates two red squares, one around the blue body element and one below it. Why there is the small space created below body?
That’s odd, It shows just the orange and blue boxes for me. Honestly, I’m stumped. Since you’ve overwritten borders on both body and html elements, I don’t see anything that could possibly add those red boxes or the extra space.
You could open use the Developer Tools or the Inspect (F12 or Ctrl + Shift + C in Firefox) to see exactly what’s your browser is displaying. The only explanation I can think of is that some plugin on your browser adds those elements- it’s unlikely, but that’s the only theory I have for now.
I don’t think it’s just the Firefox- I’m using it as well, and to me, it looks like this:
But if switching browsers works for you, then problem (sort of) solved, I guess:)