Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/40.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
Css opera位置固定到固定元素并调整bug大小?_Css_Opera_Fixed - Fatal编程技术网

Css opera位置固定到固定元素并调整bug大小?

Css opera位置固定到固定元素并调整bug大小?,css,opera,fixed,Css,Opera,Fixed,我使用了2个固定位置的div,调整大小后,opera不会重新绘制元素 #wrapper{ position:fixed; z-index:10000; height: auto; background-color: transparent; margin: 0; } #label { position: fixed; bottom:0px; left: 50%; background-color: transparent;

我使用了2个固定位置的div,调整大小后,opera不会重新绘制元素

#wrapper{
    position:fixed;
    z-index:10000;
    height: auto;
    background-color: transparent;
    margin: 0;
}

#label {
    position: fixed;
    bottom:0px;
    left: 50%;
    background-color: transparent;
    z-index: 9999999;
    height: 40px;
    width: 200px;
    border: 1px solid red;
    margin-left:-100px;
}


<div id="wrapper">
    <div id="label">content</div>
</div>
#包装器{
位置:固定;
z指数:10000;
高度:自动;
背景色:透明;
保证金:0;
}
#标签{
位置:固定;
底部:0px;
左:50%;
背景色:透明;
z指数:999999;
高度:40px;
宽度:200px;
边框:1px纯红;
左边距:-100px;
}
内容
你可以在这里看到这个错误

只需在Opera浏览器中加载页面并调整窗口大小

请帮我写这个css

css

#wrapper{
    position:fixed;
    z-index:10000;
    height: auto;
    background-color: transparent;
    margin: 0;
    bottom:0;
    left:0;
    right:0;
}

#label {
    position: relative;
    bottom:0px;
    left: 50%;
    background-color: transparent;
    height: 40px;
    width: 200px;
    border: 1px solid red;
    margin-left:-100px;
}