How to move header to top of the page


#1

Hi guys, I’m doing intensive pro program called Building Website from Scratch, I’m doing the project in which we need to build a page (this is the link). My problem is whenever I write down HTML file, I always got the space between the header and the top of the page and I already tried several methods such as setting margin-top to 0 for both header and body tags but it doesn’t change anything. Any idea how to remove the gap between header and top of the page?


#2

Did you set the background as it or did you put the image first?