I understood that a fixed position element is out of the ‘flow of the document’. Why do we need top:0 to hold it to the top of the page? I am creating a page and added a margin to a section underneath the header and the fixed header reacted to this margin? What is happening when we leave top out? I’m not really understanding. Thanks
#header{
position: fixed;
top: 0;
}