My webpage code is this:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>index</title>
</head>
<body style="background-color: Black;" >
</body>
</html>
When I run the page on my development Pc (Visual Studio 2010), I get this result:

Notice that the page is rendered in compability mode.
When I run the exact same page from IIS7, I get this result:

Now the compability view is gone, but I now have a vertical scrollbar and a white frame (1-2 pixels) around the entire page (see the yellow arrows – it might be hard to see here).
Here’s my questions:
-
Why is compability view different when running in development than on my IIS7 production server?
-
With the HTML code above, why is there a vertical scrollbar and a small frame around the page? … and how do I get rid of it? I want an entire black page.
Thank you in advance!
Mojo
The use of
<!DOCTYPE html>normally prevents compatibility mode, but for local files (localhost:…), IE tends to use compatibility mode despite it. To override this, use(which may have various other effects too), or test your pages on a server.