xampp中的样式与桌面上的文件不同? [英] Styling in xampp is different then files on my desktop?

查看:96
本文介绍了xampp中的样式与桌面上的文件不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

世界上最奇怪的事情发生在我身上,我想问,如果有人听说过任何类似的东西,以及任何可能的解决方案。我的设计师在自己的电脑上创建了一个网站。我在我的代码中实现了他的css + html,我注意到一切都在我的网站上更大一点(例如菜单更宽,顶栏更大等)
玩了这个3个多小时后,我决定只保存设计师对我的桌面做的网站。我这样做,打开它在chrome,它是完全像我在设计师网站看到的。然后,我继续复制过去的网站,我保存到xampp和lo和看,一切都更大,JUST像我的网站。我真的不知道发生了什么,在我的桌面上完全相同的文件显示不同,当我将它们复制到xampp。

The weirdest thing in the world is happening to me, and I wanted to ask if anyone has heard of anything similiar to this, and any possible solution. My designer created a website, on his own computer. I implemented his css + html in my code, and I noticed everything was coming out a bit bigger on my website (eg menu was wider, top bar was larger, etc) After playing around with this for over 3 hours, I decided to just Save the website the designer made to my Desktop. I did this, opened it in chrome, and it was exactly like I saw on the designers site. I then proceeded to copy past the website I saved into xampp- and lo and behold, everything was bigger, JUST like in MY website. I have quite literally no idea what is going on, the exact same files on my Desktop are showing up differently when I copy them into xampp.

任何想法发生了什么?
谢谢!

Any idea whats going on? Thanks!

编辑:为了使问题更加明显,扩展只出现在chrome ...

To make matters weirder, it appears the enlarging only happens in chrome...

推荐答案

根据评论

这是不可能的,以确保我们可以缩小你的问题,而无需查看任何代码或任何喜欢。

It's rather impossible to ensure that we can narrow down your issue without viewing any code or anything of the likes. But first ensure that your browser is at proper standard settings.

请务必按 CTRL + 0 (在Windows上 )。

Make sure you are zoomed out by pressing CTRL + 0 (on windows).

可能是因为样式表缺少一些东西,但在这种情况下它不是。

It could've also potentially have been that the stylesheet was missing something, but in this case it wasn't.

这篇关于xampp中的样式与桌面上的文件不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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