dtwknzk3764 2017-04-28 08:21
浏览 25
已采纳

为什么即使使用相同的CSS也会有不同的结果?

I copied a PHP web system which made 10 years ago on Linux to my windows PC.

I installed PHP 5.6.2 on my windows PC And It is higher than installed Linux. (old system's PHP is 5.1.4)

But when i compared two web site, they were different a little.

This is the old php in Linux system. enter image description here

And this is new system. enter image description here

Do you know difference? The old system's text of menu aligned to center.

But new system's aligned right a little from center.

So i checked css, But these css are same.

somebody know about this?

  • 写回答

3条回答 默认 最新

  • duaedf6509 2017-04-28 08:30
    关注

    Assuming you have the same HTML DOM, CSS and running the two system on the same browser, browser version and browser compatibility mode..

    Have you checked if they are having the same values for the following?

    • HTML doctype
    • X-UA-Compatibility meta type
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题