溢出-X,根本不工作? [英] Overflow-X , not working at all?

查看:111
本文介绍了溢出-X,根本不工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在做这个项目: http://jimenarguelles.mx 。有一个奇怪的情况与溢出。

I'm doing this proyect: http://jimenarguelles.mx. There is an odd situation with the overflow.

请横向滚动网站,这不应该发生。

Please scroll the website in horizontal, that should not happen at all.

class =sidebar is position:absolute right: code>

the class="sidebar" is position:absolute right:0

你觉得怎么样?

推荐答案

尝试将它添加到body:

Try adding this onto 'body':

body {
    overflow-x:hidden;
    position:relative;
}

这篇关于溢出-X,根本不工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆