[英]CSS does not work with deployed application in IE
I have developed a small web App with MVC. 我使用MVC开发了一个小型Web应用程序。 I have some CSS that does work OK when in debug in visual studio ie on IIS Express 我在Visual Studio中的IIS Express上进行调试时,有一些CSS可以正常工作
It looks like as below (now I cannot insert images, thanks to stackoverflow) When I deployed this application to my local machine, some CSS does not work. 如下图所示(由于stackoverflow,现在我无法插入图像)将应用程序部署到本地计算机时,某些CSS无法正常工作。
This is how the deployed application appears. 这就是部署的应用程序的外观。 I explain, all the rounded corners are gone. 我解释一下,所有的圆角都消失了。 and the location of some DIVs is not where it is desired. 并且某些DIV的位置不在所需位置。 it happens in IE, Chrome is largely OK. 它发生在IE中,Chrome基本上可以。 when I check rendred css in developer tools for IE, all the "border-radius" elements appeared underlined. 当我在IE的开发人员工具中检查rendred css时,所有“边界半径”元素都带有下划线。 and position of the DIVs can be fixed by re-adjusting margins etc (which are good to go with Chrome). 可以通过重新调整边距等来固定DIV的位置(Chrome可以很好地配合使用)。 btw IE Version is 11.0.9600.16428 Windows 7 professional, IIS Version 7.5.76 btw IE版本是Windows 7 Professional 11.0.9600.16428,IIS版本7.5.76
Any clues? 有什么线索吗?
This can be several things. 这可能是几件事。 But I would check the following: 但我会检查以下内容:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.