Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7035177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:16:25+00:00 2026-05-28T01:16:25+00:00

My webpage code is this: <!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <title>index</title> </head>

  • 0

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:

enter image description here

Notice that the page is rendered in compability mode.

When I run the exact same page from IIS7, I get this result:

enter image description here

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:

  1. Why is compability view different when running in development than on my IIS7 production server?

  2. 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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:16:26+00:00Added an answer on May 28, 2026 at 1:16 am

    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

    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    

    (which may have various other effects too), or test your pages on a server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I try to implement the following code: <!DOCTYPE html> <html lang=en> <head> <meta http-equiv=Content-Type
I am using following code to display HTML Form on my web page. This
I was recently trying to build a HTML5 webpage (using the <!DOCTYPE html> tag)
I have a this code for generating an iframe for some webpage and I
I'm trying to make a webpage change the background color every one second using
web page : http://sideradesign.com/eco-art/gallery/ This code works fine in all brwosers except IE8 (haven't
I have used this code for extracting urls from web page.But in the line
I have code that sends emails to users from a signup webpage. Occasionally, users
I am writing a css code for a webpage, i have a navigation menu
I've got the following piece of code in an aspx webpage: Response.Redirect(/Someurl/); I also

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.