简体   繁体   中英

IE 9 border-radius doesn't work after mvc project is deployed to Win server 2008 r2

When developing/debugging a plain old vanilla MVC 3 project in VS 2010 the border-radius style works fine (corners display rounded in ie 9). However, after the project is deployed to IIS 7 on a windows 2008 R2 server the corners are no longer rounded in IE 9. The corners are still rounded in firefox and chrome. Any idea why? I've tried to work around the problem with PIE.htc but the borders overrun a few pixels where they intersect - doesn't look great. Thanks, Jim

Use the ie dev tools to check the browser and document modes for the local and remote sites.

Is the server on your intranet? If so check the 'always use compatibility mode for intranet sites' setting.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM