I have a header div that I want to be flush against the top of the window. When I enclose a paragraph in the div, space opens up between the top of the window and the div. The only way to close the space is to style the paragraph:
div#header p {
margin: 0;
}
Why does the browser, by default, create a margin for the paragraph outside the div that contains the paragraph?