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条)

报告相同问题?

悬赏问题

  • ¥20 测距传感器数据手册i2c
  • ¥15 RPA正常跑,cmd输入cookies跑不出来
  • ¥15 求帮我调试一下freefem代码
  • ¥15 matlab代码解决,怎么运行
  • ¥15 R语言Rstudio突然无法启动
  • ¥15 关于#matlab#的问题:提取2个图像的变量作为另外一个图像像元的移动量,计算新的位置创建新的图像并提取第二个图像的变量到新的图像
  • ¥15 改算法,照着压缩包里边,参考其他代码封装的格式 写到main函数里
  • ¥15 用windows做服务的同志有吗
  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法