[英]On IIS in Windows 7 ASP.Net pages CSS is not show correclty as In the embedded server in Visual Studio 2010
I am facing a problem with CSS on the IIS installted on Windows 7. It is not displaying correctly as what is shown in the embedded server in Visual Studio 2010 when previewing the page. 我在Windows 7上安装的IIS上遇到CSS的问题。预览页面时,Visual Studio 2010的嵌入式服务器中显示的内容显示不正确。
For example, the jquery dialog title is not showing correctly: 例如,jquery对话框标题显示不正确:
In Visual Studio 2010: http://imageshack.us/photo/my-images/151/cssiis1.jpg/ 在Visual Studio 2010中: http : //imageshack.us/photo/my-images/151/cssiis1.jpg/
On IIS 7 On Windows 7: http://imageshack.us/photo/my-images/197/cssiis2.jpg/ 在Windows 7上的IIS 7上: http : //imageshack.us/photo/my-images/197/cssiis2.jpg/
Also I am using transparent css effects and it not working on IIS but is working on Visual Studio. 另外我正在使用透明的css效果,它不能在IIS上工作,但可以在Visual Studio上工作。
filter: alpha(opacity=60); opacity: 0.60;
What is the problem? 问题是什么?
Thank you. 谢谢。
To solve this proplem copy all style in CSS file and past it in style tag in master page. 为了解决这个问题,请将所有样式复制到CSS文件中,并将其粘贴到母版页的样式标签中。 I did that and it working.
我做到了,并且有效。 I take all from CSS file and past it in past her
我将所有内容从CSS文件中提取并通过了她
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.