页面右侧的空白 [英] White space on right side of page
本文介绍了页面右侧的空白的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的网页右侧有多余的可用空间问题.这是我的网页:
I have a problem with unwanted free space on right side of my webpage. Here is my webpage :
我添加了这些代码
html,body
{
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
overflow-x: hidden;
}
它解决了我的问题,但是,它禁用了网页上的页脚图标,所以我该怎么做?
and it's solved my problem but, it disable footer icons on webpage so how can i do this?
这是网页:
推荐答案
您的其中一个元素导致了利润.要找出答案,您可以将所有元素的轮廓边框设置为1px红色,然后对其进行修复.
One of your elements it's causing that margin. To find out you can set all elements outline border for 1px red and then fix it.
*{
outline: 1px solid red;
}
这篇关于页面右侧的空白的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文