Why does styling the background of the body element affect the entire screen instead of just the body itself? For example, consider this CSS rule:
body {
width: 700px;
height:200px;
border: 5px dotted red;
background-color: blue;
}
While the border appears as expected at 700px wide, the background color fills the entire browser viewport. What is the reason for this behavior?