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 6946499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:34:23+00:00 2026-05-27T13:34:23+00:00

I have created a simple application using MVC3 and the site is based on

  • 0

I have created a simple application using MVC3 and the site is based on the default template.

When I build the site and run it locally if is displayed correctly (using IE9 and Chrome) but when I deploy it to our server (windows server 2003) the page renders incorrectly when accessed from my machine.

Here’s the weird bit… when I view the site from a browser on the server (IE8) it again renders correctly.

The section of the CSS file that appears to be causing the problem is this…

header, #header 
{
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
    height: 135px;
}

header h1, #header h1 
{
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
    text-shadow: 1px 1px 2px #111;
}

#main 
{
    padding: 30px 30px 15px 30px;
    background-color: #fff;
    border-radius: 4px 0 0 0;
    background-image:  url(themes/base/images/ss_bg.gif);
    background-repeat: repeat;
    -webkit-border-radius: 4px 0 0 0;
    -moz-border-radius: 4px 0 0 0;
}

footer, 
#footer 
{
    background-image:  url(themes/base/images/2bg.gif);
    background-repeat: repeat;

    font-family: Courier;
    font-size: .9em;
    font-weight: normal; 
    font-style: normal; 
    font-variant: normal; 
    color: Gray;

    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
}

Here are some screen shots:

The incorrect rendering in IE 9
Incorrect Rendering

The correct rendering locally on IE 8
Correct Rendering

  • 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-27T13:34:24+00:00Added an answer on May 27, 2026 at 1:34 pm

    Press F12 to open the Developer Tools, which should show that IE is not using the same “Browser Mode”/”Document Mode” between the two instances of the site.

    IE defaults to different modes depending on where the page is being served from, just to wind you up.

    Adding this to your <head> should sort out the problem:

    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a simple API for a Rails application using token-based-authentication that supports
I have created a simple hello world application in xcode using the command line
I have created a simple native application using Blackberry API's. Application contains only a
I have created simple chat application using smack api.i can able to chat well.but
I have created a simple silverlight application using WCF service.. My service created well
I have created a simple Hello World Application using Flash Builder Burrito SDK. I
I have created a simple java web (Vaadin) application project using JPA and it
I have created a sample project using ASP.NET MVC 3 Web Application (Razor) template.
I have created a simple blog application with Ruby on Rails. The applications consists
I have created a simple win 32 application..in which it has a textbox and

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.