Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/35.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
Html 库插件位置在调整大小时移动_Html_Css - Fatal编程技术网

Html 库插件位置在调整大小时移动

Html 库插件位置在调整大小时移动,html,css,Html,Css,我在主页上有一个图库插件,当我调整窗口大小或放大/缩小时,它会一直移动 我无法精确地指出它保持不变的确切规则。试过绝对的、相对的、固定的、静止的……它一直在移动 css规则: .box_skitter {position:relative;width:800px;height:300px;background:#000;right:442px;margin-top:52px;margin-bottom:32px;} www.tranceil.fm 有什么想法吗?删除skitter.style

我在主页上有一个图库插件,当我调整窗口大小或放大/缩小时,它会一直移动

我无法精确地指出它保持不变的确切规则。试过绝对的、相对的、固定的、静止的……它一直在移动

css规则:

.box_skitter {position:relative;width:800px;height:300px;background:#000;right:442px;margin-top:52px;margin-bottom:32px;}

www.tranceil.fm

有什么想法吗?

删除skitter.styles.css中的位置选项position/right,并为水平位置添加自动边距

.box_skitter {
  width: 985px;
  height: 560px;
  margin: 52px auto 32px;
  background: black;
}

不删除
位置:相对-确保绝对定位的子元素正确定位。Thanx获取帮助。。。最后它成功了,但导航号码却出现在页面的左上角?是的……这位亲戚确实很有必要:)非常感谢大家!!