css 如何删除我的网站上多余的白色?[已关闭]

o4tp2gmn  于 2023-01-10  发布在  其他
关注(0)|答案(2)|浏览(126)

**已关闭。**此问题需要debugging details。当前不接受答案。

编辑问题以包含desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem。这将有助于其他人回答问题。
2天前关闭。
Improve this question
我有一个网站simbol.infinityfreeapp.com,当我在平板电脑上按下主页按钮时,右侧会产生额外白色。我问了chatgpt,它说html是正确的。在我的另一个设备上不会发生这种情况。如果是响应错误,为什么只有在按下主页按钮后才会发生?我没有尝试过太多的东西,它只发生在我的平板电脑上,甚至只点击主页按钮后。以下是点击主页https://i.stack.imgur.com/yEyZC.jpghttps://i.stack.imgur.com/MqSTc.jpg前后的情况

pcww981p

pcww981p1#

请提供代码..但我猜
执行此操作以全局删除多余的空格(在.css文件中)

*{
padding:0;
margin:0;
}

或目标特定元素(如ursimbol部分)

.simbol{
    padding:0;
    margin:0;
    }
ogsagwnx

ogsagwnx2#

这可能是因为你的网站大小的问题,我真的不知道这个问题的代码答案,但尝试使用CSS,使大小适合屏幕

相关问题