html - 元素大于页面的宽度

标签 html css

我在我的主页上使用自定义主题 (WP)。当我使页面更具响应性时,它以某种方式弄乱了一切,我不知道怎样才能公平。

页面现在不知何故比窗口大,这导致 x 溢出和一个不包含任何内容的滚动条。有点难以解释,所以这里是屏幕截图和实时 View :

http://prefixaut.net

最佳答案

试试这个,

在您的 style.css 行号 268,285,289 中有问题。

在 css 下解决这些问题。

更改这些 CSS:

#selection .select .select-bg {
    /*left: -50px; Remove this line and Add Below lines  */
    left:0;
    right: 0;
    margin: 0 auto;
}
#selection .select .select-bg-container {
    left:50% /*Remove This*/
}
#selection .select .select-icon {
    position: absolute;/*Remove This*/
}
#selection .select .select-icon i {
    /* left: -25px;  Remove this line and Add Below lines  */
    left: 0;
    right: 0;
    margin: 0 auto;
}

关于html - 元素大于页面的宽度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36953921/

相关文章:

html - 多行布局中的 Flexbox 等高行

php - 如何在php中调用多个复选框点击的javascript函数?

html - 我在 google 中的 css3 动画正在运行,但它在 firefox 上不起作用

jquery - 如何删除下拉菜单 ul li 和 jquery 上的文本突出显示

css - HTML&CSS-如何在文本框中更改图像背景

java - 不知道如何转换 Java - HTML

javascript - 停止冒泡事件 onclick

css - @font-face 不工作

html - Jquery 函数将页面上的所有单选按钮切换为

html - 背景图像切断了 Javascript 中的部分文本?