HTML页面不';卷轴
我的网页没有滚动!我不知道为什么会出现这个问题! 页面: 在主文件中,我包含了另外两个php文件:HTML页面不';卷轴,html,css,scroll,Html,Css,Scroll,我的网页没有滚动!我不知道为什么会出现这个问题! 页面: 在主文件中,我包含了另外两个php文件: <?php include '../../include/menu.php'; include '../../include/layout.php'; ?> 我提供了3个php文件的3个链接: main index.php: 菜单文件-Menu.php: 布局文件-Layout.php:使用浏览器控制台检查代码我发现您在css代码中设置了溢出隐藏: body, h
<?php
include '../../include/menu.php';
include '../../include/layout.php';
?>
我提供了3个php文件的3个链接:main index.php:
菜单文件-Menu.php:
布局文件-Layout.php:
使用浏览器控制台检查代码我发现您在css代码中设置了
溢出隐藏:
body, html {
height: 100%;
margin: 0;
overflow: hidden;//remove
}
删除溢出隐藏
,它就会工作
这听起来像是为什么这个代码不起作用。。。。可能页面的内容不需要滚动。。。你必须对你的代码进行一些调试,它应该可以工作!