网页显示不同 [英] Webpages display differently

查看:91
本文介绍了网页显示不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一般程序和结果如下:

1)使用VS 2010在我的本地CPU上创建了一个Web项目,页面显示正常。

2)将项目复制到服务器机器中,然后在那里构建项目。一般来说,页面显示正常。

3)将服务器内置的项目发布到IIS 7.5中。然后,当我查看已发布的页面时,网页显示不同 - 所有图像都消失了,基金大小也发生了变化,一些定义的样式也发生了变化。

我猜想ccs文件会以某种方式过滤掉IIS 7.5。

如果你能为我提供可能的解决方案,请提前感谢。

The general procedure and results are below:
1) Created a web project on my local CPU using VS 2010 and the pages display fine.
2) Copied the project into a server machine and then built the project there. In general, the pages display fine.
3) Published the project built in the server machine into IIS 7.5. Then when I viewed the published pages, the webpages display differently - All of the images are gone, the fund sizes changed, some defined styles changed also.
I would guess the ccs files got filtered out somehow in the IIS 7.5.
Thanks in advance if you can provide me the possible solutions.

推荐答案

我已经解决了这个问题。在IIS 7.5 Manager中,对于发布的Web项目,我单击了Import Application ...以导入创建的Deployment Package(.zip)。然后图像和所需的样式显示正确。感谢审稿人。
I have solved the problem in general. In IIS 7.5 Manager, for the web project published, I clicked Import Application... to import the created Deployment Package (.zip). Then the images and needed styles display properly. Thanks to reviewers.


这篇关于网页显示不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆