1

When I F5 using the Visual Studio development server (http://localhost:XXXX/application) all styles look fine. When I F5 using local IIS (http://localhost/application), styles still look fine. However, now, if I try to navigate to http://pc-name/application directly from the browser, I lose the modern CSS styles (i.e., rounded corners, opacity, etc...), while all other CSS and layout remains the same.

I'm using IIS v7.5.7600.16385

Tom
  • 2,180
  • 7
  • 30
  • 48
  • 1
    What browser? Are you in IE compatibility mode? – SLaks May 01 '13 at 14:01
  • IE 10... It does look more normal in Chrome. And I'm not sure if I'm in compatibility mode, I don't believe so.. but possibly – Tom May 01 '13 at 14:07
  • Correction... I was in compatibility mode for Intranet sites (this site). This resolved the issue. Thanks – Tom May 01 '13 at 14:08
  • Not sure why this is closed as "too localized..." CSS styles not rendering between one environment and another due to a default setting in IE doesn't sound like I'll be the only one to ever encounter it. – Tom May 02 '13 at 15:19

1 Answers1

1

This would happen if you're in compatibility mode.

Check your internet settings.

SLaks
  • 868,454
  • 176
  • 1,908
  • 1,964
  • To add to this. IE defaults to use Compatibility Mode for intranet sites. An option is not to have all users uncheck this. There is, however, an override with meta tags – Tom May 02 '13 at 15:20