为什么在不同的计算机和相同的浏览器上显示网站的不同布局? [英] why display website different layout in different computer and same browser?

查看:91
本文介绍了为什么在不同的计算机和相同的浏览器上显示网站的不同布局?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,专家,
我有一个疑问,请上帝帮我祝福每个人
我发布了一个网站并将其上传到我的iis上,该网站可以在我的计算机上使用以下地址正确运行,例如:http://localhost:8080/default.aspx
但是当我用本地主机替换我的计算机ip时,例如:http://192.168.1.1:8080/default.aspx或我将其上载到服务器上时,我的网站的布局会更改并被破坏和交换(我的网站在所有计算机上在同一浏览器上运行).

Hi experts,
i have a quesion plz help me god bless you every one
i publish a website and upload it on my iis, it runs correctly in my computer with this address for example : http://localhost:8080/default.aspx
but when i replace my computer ip with localhost for example : http://192.168.1.1:8080/default.aspx or i upload it on the server,layout of my web site changes and gets destroyed and exchanges (my website in all computer is running at the same browser(ie)).
Thanks in advance for an answer.

推荐答案

似乎您已经在网站中使用CSS,并将CSS文件放置在无法访问的某个文件夹中.请使用web.config文件提供对该文件夹的匿名访问.
It seems that you have used CSS in your website and placed the CSS file in some folder which is not getting access. Please, use web.config file to provide a anonymous access to the folder.


这篇关于为什么在不同的计算机和相同的浏览器上显示网站的不同布局?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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