Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/258.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/80.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Can';t编辑溢出-x:隐藏_Php_Html_Css_Wordpress - Fatal编程技术网

Php Can';t编辑溢出-x:隐藏

Php Can';t编辑溢出-x:隐藏,php,html,css,wordpress,Php,Html,Css,Wordpress,我有一个html分区: <div style="top: 363px; overflow-x: hidden; width: 1350px;" id="container"></div> 这不行。你是说你不能编辑html吗?如果这是真的,那么您可以添加一个!css的重要声明: #container { min-height: 300px; width: 100%; position: absolute; overflow-x: scrol

我有一个html分区:

<div style="top: 363px; overflow-x: hidden; width: 1350px;" id="container"></div>

这不行。

你是说你不能编辑html吗?如果这是真的,那么您可以添加一个
!css的重要
声明:

#container {
    min-height: 300px;
    width: 100%;
    position: absolute;
    overflow-x: scroll;
    display: block;
    overflow-x: auto !important; 
}

这将覆盖样式。

@user3871110别担心,这很好!顺便说一下,您可以通过单击左侧的复选标记来接受此答案!(:
#container {
    min-height: 300px;
    width: 100%;
    position: absolute;
    overflow-x: scroll;
    display: block;
    overflow-x: auto !important; 
}