我从网上下载了一个网页模版
IE 9 360 Chrome firefox
原html直接打开 正常 正常 正常 正常
仅把后缀改为php 混乱 混乱 正常 正常
这是为什么呢?
IE和360同内核,应该是相同的原因。
是我PHP版本的问题吗?我用的是5.2.8。
我把IE和360的缓存都清空了再试,还是这样。
PHP新手,实在搞不清其中的原理,请大牛帮我分析一下,如何才能让IE和360正常呢?
回复讨论(解决方案)
要看到东西才能知道
你可把文件放到云盘中
<!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <title>Archon Admin Template</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Loading Bootstrap --> <link href="bootstrap/css/bootstrap.css" rel="stylesheet"> <!-- Loading Stylesheets --> <link href="css/archon.css" rel="stylesheet"> <link href="css/responsive.css" rel="stylesheet"> <link href="css/prettify.css" rel="stylesheet"> <!-- Loading Custom Stylesheets --> <link href="css/custom.css" rel="stylesheet"> <!-- Loading Custom Stylesheets --> <link href="css/custom.css" rel="stylesheet"> <link rel="shortcut icon" href="images/favicon.ico"> <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. --> <!--[if lt IE 9]> <script src="js/html5shiv.js"></script> <![endif]--></head><body> <div class="frame"> </div> <!-- Frame --> <!-- Load JS here for greater good =============================--> <script src="js/jquery-1.8.3.min.js"></script> <script src="js/jquery-ui-1.10.3.custom.min.js"></script> <script src="js/jquery.ui.touch-punch.min.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/bootstrap-select.js"></script> <script src="js/bootstrap-switch.js"></script> <script src="js/jquery.tagsinput.js"></script> <script src="js/jquery.placeholder.js"></script> <script src="js/bootstrap-typeahead.js"></script> <script src="js/application.js"></script> <script src="js/moment.min.js"></script> <script src="js/jquery.dataTables.min.js"></script> <script src="js/jquery.sortable.js"></script> <script type="text/javascript" src="js/jquery.gritter.js"></script> <!-- Charts =============================--> <script src="js/charts/jquery.flot.js"></script> <script src="js/charts/jquery.flot.resize.js"></script> <script src="js/charts/jquery.flot.stack.js"></script> <script src="js/charts/jquery.flot.pie.min.js"></script> <script src="js/charts/jquery.sparkline.min.js"></script> <script src="js/jquery.knob.js"></script> <!-- NVD3 graphs =============================--> <script src="js/nvd3/lib/d3.v3.js"></script> <script src="js/nvd3/nv.d3.js"></script> <script src="js/nvd3/src/models/legend.js"></script> <script src="js/nvd3/src/models/pie.js"></script> <script src="js/nvd3/src/models/pieChart.js"></script> <script src="js/nvd3/src/utils.js"></script> <script src="js/nvd3/sample.nvd3.js"></script> <!-- Map and icons on map--> <script src="js/map-icons.js"></script> <!-- Archon JS =============================--> <script src="js/archon.js"></script> <script src="js/knobs-custom.js"></script> <script src="js/sparkline-custom.js"></script> <script src="js/dashboard-custom.js"></script></body></html>
混乱怎么理解,截图看一下
混乱怎么理解,截图看一下
上面有截图的,2L和3L
会不会是Css的问题,你用的Bootstrap2.3?
你可以比较下两个情况渲染出来的网页源代码,看看区别。
或者在改成PHP的时候看看你的脚本里面会不会有什么代码被解析器解析了,而html下面不是别。
会不会是Css的问题,你用的Bootstrap2.3?
你可以比较下两个情况渲染出来的网页源代码,看看区别。
或者在改成PHP的时候看看你的脚本里面会不会有什么代码被解析器解析了,而html下面不是别。
谢谢,非常有启发,我去试试
可能性较多,版主的建议不错,把文件放到云盘上,给链接,需要在本地测试分析
混乱怎么理解,截图看一下
上面有截图的,2L和3L
我知道原因了,360浏览器默认给我设置的兼容视图打开的,切换成极速模式就是正常的了,就是这么简单
一直没改过兼容视图,其他页面也都是极速模式打开的,就我这个页面是兼容打开的,真不知道为什么,唉。。。
结贴了,谢谢各位。

PHP is mainly procedural programming, but also supports object-oriented programming (OOP); Python supports a variety of paradigms, including OOP, functional and procedural programming. PHP is suitable for web development, and Python is suitable for a variety of applications such as data analysis and machine learning.

PHP originated in 1994 and was developed by RasmusLerdorf. It was originally used to track website visitors and gradually evolved into a server-side scripting language and was widely used in web development. Python was developed by Guidovan Rossum in the late 1980s and was first released in 1991. It emphasizes code readability and simplicity, and is suitable for scientific computing, data analysis and other fields.

PHP is suitable for web development and rapid prototyping, and Python is suitable for data science and machine learning. 1.PHP is used for dynamic web development, with simple syntax and suitable for rapid development. 2. Python has concise syntax, is suitable for multiple fields, and has a strong library ecosystem.

PHP remains important in the modernization process because it supports a large number of websites and applications and adapts to development needs through frameworks. 1.PHP7 improves performance and introduces new features. 2. Modern frameworks such as Laravel, Symfony and CodeIgniter simplify development and improve code quality. 3. Performance optimization and best practices further improve application efficiency.

PHPhassignificantlyimpactedwebdevelopmentandextendsbeyondit.1)ItpowersmajorplatformslikeWordPressandexcelsindatabaseinteractions.2)PHP'sadaptabilityallowsittoscaleforlargeapplicationsusingframeworkslikeLaravel.3)Beyondweb,PHPisusedincommand-linescrip

PHP type prompts to improve code quality and readability. 1) Scalar type tips: Since PHP7.0, basic data types are allowed to be specified in function parameters, such as int, float, etc. 2) Return type prompt: Ensure the consistency of the function return value type. 3) Union type prompt: Since PHP8.0, multiple types are allowed to be specified in function parameters or return values. 4) Nullable type prompt: Allows to include null values and handle functions that may return null values.

In PHP, use the clone keyword to create a copy of the object and customize the cloning behavior through the \_\_clone magic method. 1. Use the clone keyword to make a shallow copy, cloning the object's properties but not the object's properties. 2. The \_\_clone method can deeply copy nested objects to avoid shallow copying problems. 3. Pay attention to avoid circular references and performance problems in cloning, and optimize cloning operations to improve efficiency.

PHP is suitable for web development and content management systems, and Python is suitable for data science, machine learning and automation scripts. 1.PHP performs well in building fast and scalable websites and applications and is commonly used in CMS such as WordPress. 2. Python has performed outstandingly in the fields of data science and machine learning, with rich libraries such as NumPy and TensorFlow.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver CS6
Visual web development tools