Search code examples
htmlcssheaderheight

Claimed to be the same height but doesn't seem to be


Difference between the headers

The website's header

My header

Can anyone please tell me what is the thing that is probably making this happen?

This is my span's style

This is the website's span's style

Edit: I tried to make the headers of stack overflow and facebook, I did not have the same problem, but I need to know why this website is like this.


Solution

  • Well it is the same, but the page is just resized. If both browser windows were the same size, they would be the same. The difference is very slight anyway.